public void stopFixture ( final String uuid ) { final Optional < FixtureResult > found = storage . getFixture ( uuid ) ; if ( ! found . isPresent ( ) ) { LOGGER . error ( "Could not stop test fixture: test fixture with uuid {} not found" , uuid ) ; return ; } final FixtureResult fixture = found . get ( ) ; notifier . beforeFixtureStop ( fixture ) ; fixture . setStage ( Stage . FINISHED ) ; fixture . setStop ( System . currentTimeMillis ( ) ) ; storage . remove ( uuid ) ; threadContext . clear ( ) ; notifier . afterFixtureStop ( fixture ) ; }
Stops fixture by given uuid .