Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Randomize ports.
Browse files Browse the repository at this point in the history
toots committed Dec 7, 2024
1 parent 11cf06d commit d3b34c3
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions tests/streams/harbor_metadata.liq
Original file line number Diff line number Diff line change
@@ -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
)

6 changes: 4 additions & 2 deletions tests/streams/harbor_metadata_2.liq
Original file line number Diff line number Diff line change
@@ -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
)

6 changes: 4 additions & 2 deletions tests/streams/harbor_metadata_3.liq
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit d3b34c3

Please sign in to comment.