Skip to content

Commit

Permalink
Fix buckets-listing.sh
Browse files Browse the repository at this point in the history
The zadd doesn't use same score as used in account service:
the order of bucket was not done
  • Loading branch information
murlock committed Sep 4, 2019
1 parent 16cbdbd commit 88ae76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/buckets-listing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ${AWS} s3api create-bucket --bucket ${BUCKET_2}
# Listing limit is 1000, no need to simulate a lot more containers.
for i in ${BUCKET_1} ${BUCKET_1}%2F${SUBPATH}%2F{1..2000} ${BUCKET_2};
do
echo ZADD containers:${OIO_ACCOUNT} 1 ${i};
echo ZADD containers:${OIO_ACCOUNT} 0 ${i};
echo HSET container:${OIO_ACCOUNT}:${i} bytes 0;
echo HSET container:${OIO_ACCOUNT}:${i} objects 0;
echo HSET container:${OIO_ACCOUNT}:${i} dtime 0;
Expand Down

0 comments on commit 88ae76e

Please sign in to comment.