File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed
Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,12 @@ else
271271 exit 1
272272fi
273273# Run Cthon
274- ./server -a -p /nfs/cephfs -m /mnt/nfs_ceph_v4 $( hostname -I | awk ' {print $1}' )
274+ if [ " ${CONCURRENT_JOBS} " == " True" ]; then
275+ ./server -c 100000 /nfs/cephfs -m /mnt/nfs_ceph_v4 $( hostname -I | awk ' {print $1}' )
276+ else
277+ ./server -a -p /nfs/cephfs -m /mnt/nfs_ceph_v4 $( hostname -I | awk ' {print $1}' )
278+ fi
279+
275280
276281
277282# Run CTHON for v4.1
@@ -293,7 +298,10 @@ else
293298 exit 1
294299fi
295300# Run Cthon
296- ./server -a -p /nfs/cephfs -m /mnt/nfs_ceph_v41 $( hostname -I | awk ' {print $1}' )
297-
301+ if [ " ${CONCURRENT_JOBS} " == " True" ]; then
302+ ./server -c 100000 /nfs/cephfs -m /mnt/nfs_ceph_v4 $( hostname -I | awk ' {print $1}' )
303+ else
304+ ./server -a -p /nfs/cephfs -m /mnt/nfs_ceph_v4 $( hostname -I | awk ' {print $1}' )
305+ fi
298306exit 0
299307
Original file line number Diff line number Diff line change 1+ - job :
2+ name : cthon-cephfs
3+ node : cico-workspace
4+ description : ' Run cthon with ceph as backend with concurrent run support on Ceph FSAL.'
5+ project-type : freestyle
6+ concurrent : false
7+ allow-manual-triggers : true
8+ disabled : true
9+
10+ scm :
11+ - ci-tests
12+
13+ parameters :
14+ - string :
15+ default : " $WORKSPACE/ci-tests/ceph/basic-ceph-cthon.sh"
16+ description : Test script to execute on the reserved machine acting as a server.
17+ name : SERVER_TEST_SCRIPT
18+
19+ builders :
20+ - get-node
21+ - shell : !include-raw-verbatim: scripts/common.sh
22+
23+ wrappers :
24+ - gerrithub_key
25+ - cleanup-ws
26+
27+ publishers :
28+ - post_build_task_return-node
You can’t perform that action at this time.
0 commit comments