Skip to content

Commit

Permalink
Test scripts:
Browse files Browse the repository at this point in the history
* Calculate chunk server port by adding 200 to the meta server port in order to make the logic consistent in all test scripts.
  • Loading branch information
mikeov committed Nov 26, 2024
1 parent 47879cb commit 7810950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test-scripts/objstoreclosetest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ clicfg=${clicfg-"$qfstestdir"/client.prp}
clirootcfg=${clirootcfg-"$qfstestdir"/clientroot.prp}
metaport=${metaport-20200}
metahost=${metahost-127.0.0.1}
csstartport=${csstartport-20400}
csstartport=${csstartport-`expr $metaport + 200`}
csendport=${csendport-`expr $csstartport + 0`}

cptoqfsextraopts=${cptoqfsextraopts-}
Expand Down
2 changes: 1 addition & 1 deletion src/test-scripts/recoverytest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ testblocksizes=${testblocksizes-'26214399 26214400 29358894 26214401'}
testtailblocksize=${testtailblocksize-1}
filecreateparams=${filecreateparams-'fs.createParams=1,6,3,1048576,2,15,15'}
rsrecoveryreadsize=${rsrecoveryreadsize-524288}
csstartport=${csstartport-20400}
csstartport=${csstartport-`expr $metaport + 200`}
csendport=${csendport-`expr $csstartport + 1`}
valgrind_cmd=${valgrind_cmd-''}
recoveryforcetimes=${recoveryforcetimes-1}
Expand Down

0 comments on commit 7810950

Please sign in to comment.