mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(ci): retain Docker fixture sockets and bound result uploads (#5877)
Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
1 parent
f22c2a4db1
commit
720f95bebe
2 files changed
+8
-4
No files matched your search
+7
-4
@@ -736,10 +736,13 @@ class DockerClientProducerTest {
|
||||
});
|
||||
}
|
||||
|
||||
assertNotNull(accepted.poll(10, TimeUnit.SECONDS), "first stream should connect");
|
||||
assertNotNull(accepted.poll(10, TimeUnit.SECONDS), "second stream should connect");
|
||||
assertNull(accepted.poll(1, TimeUnit.SECONDS),
|
||||
"third stream should wait for a pooled connection instead of opening one");
|
||||
try (Socket first = accepted.poll(10, TimeUnit.SECONDS);
|
||||
Socket second = accepted.poll(10, TimeUnit.SECONDS);
|
||||
Socket third = accepted.poll(1, TimeUnit.SECONDS)) {
|
||||
assertNotNull(first, "first stream should connect");
|
||||
assertNotNull(second, "second stream should connect");
|
||||
assertNull(third, "third stream should wait for a pooled connection instead of opening one");
|
||||
}
|
||||
} finally {
|
||||
client.close();
|
||||
for (Socket socket : accepted) {
|
||||
|
||||
Reference in new issue
Block a user