File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ mkdir -p /tmp/xenvm.d
3333./xenvm.native format $LOOP --vg djstest --configdir /tmp/xenvm.d $MOCK_ARG
3434./xenvmd.native --config ./test.xenvmd.conf --daemon
3535
36- ./xenvm.native set-vg-info --pvpath $LOOP -S /tmp/xenvmd djstest --local-allocator-path /tmp/xenvm-local-allocator --uri file://local/services/xenvmd/djstest --configdir /tmp/xenvm.d $MOCK_ARG
36+ ./xenvm.native set-vg-info --pvpath $LOOP -S /tmp/xenvmd djstest --local-allocator-path /tmp/host1-socket --uri file://local/services/xenvmd/djstest --configdir /tmp/xenvm.d $MOCK_ARG
3737
3838./xenvm.native lvcreate -n live -L 4 djstest --configdir /tmp/xenvm.d $MOCK_ARG
3939./xenvm.native lvchange -ay /dev/djstest/live --configdir /tmp/xenvm.d $MOCK_ARG
@@ -46,7 +46,11 @@ mkdir -p /tmp/xenvm.d
4646./xenvm.native host-create /dev/djstest host1 --configdir /tmp/xenvm.d $MOCK_ARG
4747./xenvm.native host-connect /dev/djstest host1 --configdir /tmp/xenvm.d $MOCK_ARG
4848cat test.local_allocator.conf.in | sed -r " s|@BIGDISK@|$LOOP |g" | sed -r " s|@HOST@|host1|g" > test.local_allocator.host1.conf
49- ./local_allocator.native --config ./test.local_allocator.host1.conf $MOCK_ARG > /dev/null &
49+ ./local_allocator.native --daemon --config ./test.local_allocator.host1.conf $MOCK_ARG
50+
51+ sleep 30 # the local allocator daemonizes too soon
52+
53+ ./xenvm.native lvextend /dev/djstest/live -L 128M --live --configdir /tmp/xenvm.d $MOCK_ARG
5054
5155./xenvm.native host-create /dev/djstest host2 --configdir /tmp/xenvm.d $MOCK_ARG
5256./xenvm.native host-connect /dev/djstest host2 --configdir /tmp/xenvm.d $MOCK_ARG
You can’t perform that action at this time.
0 commit comments