Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
f39af41a
Commit
f39af41a
authored
9 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1310 from ipfs/fix-iptb-ports
iptb sharness tests: randomize ports
parents
b5bd29a5
109a618a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
test/sharness/t0101-iptb-name.sh
test/sharness/t0101-iptb-name.sh
+3
-1
test/sharness/t0130-multinode.sh
test/sharness/t0130-multinode.sh
+2
-1
No files found.
test/sharness/t0101-iptb-name.sh
View file @
f39af41a
...
...
@@ -10,8 +10,10 @@ test_description="Test ipfs repo operations"
export
IPTB_ROOT
=
"
`
pwd
`
/.iptb"
test_expect_success
"set up an iptb cluster"
'
iptb -n=4 -p=9000 init &&
IPTB_PORT=$((RANDOM % 10000 + 22000)) &&
iptb -n=4 "-p=$IPTB_PORT" init &&
iptb -wait start
'
...
...
This diff is collapsed.
Click to expand it.
test/sharness/t0130-multinode.sh
View file @
f39af41a
...
...
@@ -11,7 +11,8 @@ test_description="Test multiple ipfs nodes"
export
IPTB_ROOT
=
"
`
pwd
`
/.iptb"
test_expect_success
"set up a few nodes"
'
iptb -n=3 -p=9200 init &&
IPTB_PORT=$((RANDOM % 10000 + 22000)) &&
iptb -n=3 "-p=$IPTB_PORT" init &&
iptb -wait start
'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment