Skip to content

Commit

Permalink
Attempt to fix Windows test failures (tear down).
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Sep 26, 2024
1 parent 581519d commit f7473c8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import com.io7m.laurel.model.LMetadataValue;
import com.io7m.zelador.test_extension.CloseableResourcesType;
import com.io7m.zelador.test_extension.ZeladorExtension;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down Expand Up @@ -116,6 +117,13 @@ public void setup(
}
}

@AfterEach
public void tearDown()
throws LException
{
this.model.close();
}

@Test
public void testImageSelectNonexistent()
throws Exception
Expand Down

0 comments on commit f7473c8

Please sign in to comment.