there really has to be something better than sleeps...

This commit is contained in:
2024-06-23 18:43:18 +02:00
parent 731cf1e6e4
commit efb8d4dfcf

View File

@@ -94,7 +94,7 @@ public class DhfsFuseIT {
@Test
void readWriteFileTest() throws IOException, InterruptedException, TimeoutException {
Assertions.assertEquals(0, container1.execInContainer("/bin/sh", "-c", "echo test123 > /root/dhfs_data/dhfs_fuse_root/testf1").getExitCode());
Thread.sleep(200);
Thread.sleep(2000);
Assertions.assertEquals("test123\n", container2.execInContainer("/bin/sh", "-c", "cat /root/dhfs_data/dhfs_fuse_root/testf1").getStdout());
}