Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Mar 22, 2024
1 parent cc23cf5 commit 6d69422
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp arangodb/arangodb:3.10.10"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true))))

(assert-eq "docker run --detach --publish 8529:8529 --name myapp arangodb/arangodb:3.10.10"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs []
:volumes []
Expand All @@ -82,7 +82,7 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp arangodb/arangodb:3.10.10 --database.auto-upgrade"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs []
:volumes []
Expand All @@ -91,7 +91,7 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp --env E1=xx arangodb/arangodb:3.10.10 --database.auto-upgrade"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs ["E1=xx"]
:volumes []
Expand All @@ -100,7 +100,7 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp --env E1=xx --env E2=yy arangodb/arangodb:3.10.10 --database.auto-upgrade"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs ["E1=xx" "E2=yy"]
:volumes []
Expand All @@ -109,7 +109,7 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp --volume vol-1:/var/1 --env E1=xx --env E2=yy arangodb/arangodb:3.10.10 --database.auto-upgrade"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs ["E1=xx" "E2=yy"]
:volumes ["vol-1:/var/1"]
Expand All @@ -118,7 +118,7 @@
(assert-eq "docker run --detach --publish 8529:8529 --name myapp --volume vol-1:/var/1 --volume vol-2:/var/2 --env E1=xx --env E2=yy arangodb/arangodb:3.10.10 --database.auto-upgrade"
(clean (with-out-str (docker/run "arangodb/arangodb:3.10.10"
:name "myapp"
:publish "8529:8529"
:publish ["8529:8529"]
:detach true
:envs ["E1=xx" "E2=yy"]
:volumes ["vol-1:/var/1" "vol-2:/var/2"]
Expand Down

0 comments on commit 6d69422

Please sign in to comment.