From d3b34c37e23e39288a692d4ac1f52237b064fadc Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Sat, 7 Dec 2024 10:44:44 -0600 Subject: [PATCH] Randomize ports. --- tests/streams/harbor_metadata.liq | 6 ++++-- tests/streams/harbor_metadata_2.liq | 6 ++++-- tests/streams/harbor_metadata_3.liq | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tests/streams/harbor_metadata.liq b/tests/streams/harbor_metadata.liq index 3421f5f6e7..208a465713 100644 --- a/tests/streams/harbor_metadata.liq +++ b/tests/streams/harbor_metadata.liq @@ -1,3 +1,5 @@ +port = 346743 + def fn() = def on_metadata(m) = if @@ -23,7 +25,7 @@ def fn() = password="testtest", user="testtest", host="localhost", - port=9834, + port=port, mount="test", [ ( @@ -46,7 +48,7 @@ def fn() = password="testtest", user="testtest", "test", - port=9834, + port=port, on_connect=on_connect ) diff --git a/tests/streams/harbor_metadata_2.liq b/tests/streams/harbor_metadata_2.liq index d3d4ed17cf..e4db784fd5 100644 --- a/tests/streams/harbor_metadata_2.liq +++ b/tests/streams/harbor_metadata_2.liq @@ -1,3 +1,5 @@ +port = 346789 + def fn() = def on_metadata(m) = if @@ -23,7 +25,7 @@ def fn() = password="testtest", user="testtest", host="localhost", - port=9834, + port=port, mount="test", [ ( @@ -50,7 +52,7 @@ def fn() = password="testtest", user="testtest", "test", - port=9834, + port=port, on_connect=on_connect ) diff --git a/tests/streams/harbor_metadata_3.liq b/tests/streams/harbor_metadata_3.liq index da20cc24f0..b31ef9a91c 100644 --- a/tests/streams/harbor_metadata_3.liq +++ b/tests/streams/harbor_metadata_3.liq @@ -1,3 +1,5 @@ +port = 346344 + def fn() = def on_metadata(m) = print(m) @@ -26,7 +28,7 @@ def fn() = password="testtest", user="testtest", host="localhost", - port=9834, + port=port, mount="test", [ ( @@ -53,7 +55,7 @@ def fn() = password="testtest", user="testtest", "test", - port=9834, + port=port, on_connect=on_connect )