File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/test/java/com/vlkan/rfos Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 53
53
timeout-minutes : 1
54
54
# pwsh (the default shell on Windows) hijacks "exec" keyword
55
55
shell : bash
56
- run : ./mvnw exec:java -Dexec.classpathScope=test -Dexec.mainClass=com.vlkan.rfos.SchedulerShutdownTestApp
56
+ run : ./mvnw -V -B --no-transfer-progress -e "-DtrimStackTrace=false" exec:java -Dexec.classpathScope=test -Dexec.mainClass=com.vlkan.rfos.SchedulerShutdownTestApp
Original file line number Diff line number Diff line change @@ -284,6 +284,9 @@ void test_write_sensitive_policy() throws Exception {
284
284
// Verify no more callback interactions.
285
285
Mockito .verifyNoMoreInteractions (callback );
286
286
287
+ // Close the stream to avoid Windows failing to clean the temporary directory.
288
+ stream .close ();
289
+
287
290
}
288
291
289
292
@ Test
@@ -337,6 +340,9 @@ void test_empty_files_are_not_rotated() throws Exception {
337
340
// Verify the rotation skip.
338
341
Mockito .verifyNoMoreInteractions (callback );
339
342
343
+ // Close the stream to avoid Windows failing to clean the temporary directory.
344
+ stream .close ();
345
+
340
346
}
341
347
342
348
@ Test
You can’t perform that action at this time.
0 commit comments