mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -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
@@ -448,6 +448,7 @@ jobs:
|
||||
|
||||
- name: Upload test results
|
||||
if: always() && steps.tests.outcome != 'skipped'
|
||||
timeout-minutes: 2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: compat-results-${{ matrix.arch }}-${{ matrix.test }}
|
||||
|
||||
+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