Skip to content

Commit

Permalink
tests/functional: Fix functional test 043 to be passed
Browse files Browse the repository at this point in the history
It seems that this test was affected by fe5d3ba.

Signed-off-by: Yasuhito Fukuda <fukuda.yasuhito@po.ntts.co.jp>
Signed-off-by: Satoshi Kuramochi <act.kura@gmail.com>
  • Loading branch information
sa-kura committed Jun 17, 2016
1 parent 366ccda commit 462e8b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
8 changes: 4 additions & 4 deletions tests/functional/043
Expand Up @@ -30,7 +30,7 @@ for i in `seq 0 10`; do
echo $(($i + 100)) | $DOG vdi write test $((i * 4 * 1024 * 1024)) 512
done

for i in 0 1 2 3 4; do
for i in 0 1 2 3; do
$DOG vdi read test -p 700$i | md5sum
$DOG cluster info -p 700$i | _filter_cluster_info
done
Expand All @@ -42,18 +42,18 @@ for i in `seq 0 10`; do
echo $(($i + 200)) | $DOG vdi write test $((i * 4 * 1024 * 1024)) 512
done

for i in 0 1 2 4; do
for i in 0 1 2; do
$DOG vdi read test -p 700$i | md5sum
$DOG cluster info -p 700$i | _filter_cluster_info
done

# check whether sheep 4 can receive notify event
_vdi_create test2 20M

for i in 0 1 2 4; do
for i in 0 1 2; do
_vdi_list -p 700$i
done

# check whether we can write to a gateway after EIO
_safe_remove $STORE/0/obj
echo hello | $DOG vdi write test 0 512
echo hello | $DOG vdi write -p 7001 test 0 512
20 changes: 0 additions & 20 deletions tests/functional/043.out
Expand Up @@ -67,23 +67,6 @@ Cluster created at DATE
Epoch Time Version [Host:Port:V-Nodes,,,]
DATE 2 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
DATE 1 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7004:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
c2f72711cc1e4781841aa416f0b43e0d -
Cluster status: running, auto-recovery enabled

Cluster created at DATE

Epoch Time Version [Host:Port:V-Nodes,,,]
DATE 2 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
DATE 1 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7004:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
99970159bd855e83ced168eca46ae6c5 -
Cluster status: running, auto-recovery enabled

Cluster created at DATE

Epoch Time Version [Host:Port:V-Nodes,,,]
DATE 3 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
DATE 2 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
DATE 1 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0.1:7003:128, 127.0.0.1:7004:128, 127.0.0.1:7005:128, 127.0.0.1:7006:128, 127.0.0.1:7007:128, 127.0.0.1:7008:128, 127.0.0.1:7009:128]
99970159bd855e83ced168eca46ae6c5 -
Cluster status: running, auto-recovery enabled

Expand Down Expand Up @@ -120,6 +103,3 @@ DATE 1 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128, 127.0.0
Name Id Size Used Shared Creation time VDI id Copies Tag Block Size Shift
test 0 40 MB 40 MB 0.0 MB DATE 7c2b25 6 22
test2 0 20 MB 0.0 MB 0.0 MB DATE fd3815 6 22
Name Id Size Used Shared Creation time VDI id Copies Tag Block Size Shift
test 0 40 MB 40 MB 0.0 MB DATE 7c2b25 6 22
test2 0 20 MB 0.0 MB 0.0 MB DATE fd3815 6 22

0 comments on commit 462e8b8

Please sign in to comment.