Skip to content
Snippets Groups Projects
Commit 09b65442 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

hide blocking mutex.acquire(), fixing test

parent d67df41d
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ public class SignalPdusTest { ...@@ -109,7 +109,7 @@ public class SignalPdusTest {
@Test @Test
@Order(1) @Order(1)
public void testRoundTripNet() { public void testRoundTripNet() {
System.out.println("testRoundTripNet"); System.out.println("testRoundTripNet()");
// Let's see how these unmarshall // Let's see how these unmarshall
receivedPdus.forEach(pdu -> { receivedPdus.forEach(pdu -> {
...@@ -133,7 +133,7 @@ public class SignalPdusTest { ...@@ -133,7 +133,7 @@ public class SignalPdusTest {
@Test @Test
@Order(2) @Order(2)
public void testRoundTripLog() throws IOException, InterruptedException { public void testRoundTripLog() throws IOException, InterruptedException {
System.out.println("testRoundTripLog"); System.out.println("testRoundTripLog()");
mutex.acquire(); mutex.acquire();
Path path = Path.of("./pduLog"); Path path = Path.of("./pduLog");
...@@ -149,7 +149,7 @@ public class SignalPdusTest { ...@@ -149,7 +149,7 @@ public class SignalPdusTest {
} }
}); });
mutex.acquire(); // mutex.acquire(); // TODO needed? appears to be unnecessarily blocking...
} }
private static void sleep(long ms) { private static void sleep(long ms) {
......
...@@ -29,7 +29,7 @@ public class X3dInterpolatorsTest { ...@@ -29,7 +29,7 @@ public class X3dInterpolatorsTest {
@BeforeAll @BeforeAll
public static void setUpClass() throws IOException { public static void setUpClass() throws IOException {
System.out.println("X3dInterpolatorsTest"); System.out.println("X3dInterpolatorsTest setUpClass()");
} }
@BeforeEach @BeforeEach
...@@ -51,7 +51,7 @@ public class X3dInterpolatorsTest { ...@@ -51,7 +51,7 @@ public class X3dInterpolatorsTest {
@AfterEach @AfterEach
public void tearDown() throws InterruptedException { public void tearDown() throws InterruptedException {
mutex.acquire(); // mutex.acquire(); // TODO needed? appears to be unnecessarily blocking...
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment