Skip to content

Commit

Permalink
improve teardown of Drive Subsystem Test Base
Browse files Browse the repository at this point in the history
  • Loading branch information
kytpbs committed May 27, 2024
1 parent d59f37a commit 89cb18e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ public void setUp() {
@AfterEach
public void tearDown() {
driveSubsystem.close();
commandScheduler.cancelAll();
commandScheduler.unregisterAllSubsystems(); // ! breaks all test tests if not done
commandScheduler.close();
HAL.shutdown();
}
}

0 comments on commit 89cb18e

Please sign in to comment.