Skip to content

Commit

Permalink
Typo: predictible -> predictable
Browse files Browse the repository at this point in the history
  • Loading branch information
AymericDu committed Jun 10, 2021
1 parent 757c5b8 commit 8eea507
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -109,7 +109,7 @@ jobs:
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
env: TEST_SUITE=rebuilder,with-service-id,zlib,predictible-chunk-ids
env: TEST_SUITE=rebuilder,with-service-id,zlib,predictable-chunk-ids
python: 3.6
- script:
- source ~/.gimme/envs/latest.env
Expand All @@ -119,17 +119,17 @@ jobs:
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
env: TEST_SUITE=ec,with-service-id,predictible-chunk-ids
env: TEST_SUITE=ec,with-service-id,predictable-chunk-ids
python: 3.6
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
env: TEST_SUITE=3copies,with-service-id,predictible-chunk-ids
env: TEST_SUITE=3copies,with-service-id,predictable-chunk-ids
python: 3.6
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
env: TEST_SUITE=mover,with-service-id,predictible-chunk-ids
env: TEST_SUITE=mover,with-service-id,predictable-chunk-ids
python: 3.6

- stage: Functional tests (Python 2)
Expand All @@ -144,7 +144,7 @@ jobs:
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
env: TEST_SUITE=3copies,with-service-id,predictible-chunk-ids
env: TEST_SUITE=3copies,with-service-id,predictable-chunk-ids
- script:
- source ~/.gimme/envs/latest.env
- ./tools/oio-travis-suites.sh
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/blob/test_rebuilder.py
Expand Up @@ -101,7 +101,7 @@ def test_rebuild_old_chunk(self):
new_chunk = c

# Cannot check if the URL is different: it may be the same since we
# generate predictible chunk IDs.
# generate predictable chunk IDs.
# self.assertNotEqual(chunk['real_url'], new_chunk['real_url'])
# self.assertNotEqual(chunk['url'], new_chunk['url'])
self.assertEqual(chunk['pos'], new_chunk['pos'])
Expand All @@ -117,7 +117,7 @@ def test_rebuild_old_chunk(self):
self.version, self.content_id)
self.assertEqual(fullpath, new_chunk_headers['full_path'])
del new_chunk_headers['full_path']
# Since we generate predictible chunk IDs, they can be equal
# Since we generate predictable chunk IDs, they can be equal
# self.assertNotEqual(chunk_headers['chunk_id'],
# new_chunk_headers['chunk_id'])
# We could compare the modification time of the chunks,
Expand Down
2 changes: 1 addition & 1 deletion tools/oio-test-rebuilder.sh
Expand Up @@ -424,7 +424,7 @@ openioadmin_rawx_rebuild()
IFS=$'\n'
for CHUNK_URL in ${CHUNK_URLS}; do
# Cannot check if the URL is different: it may be the same since we
# generate predictible chunk IDs.
# generate predictable chunk IDs.
#if [ "${CHUNK_URL##*/}" = "${CHUNK_ID}" ]; then
# echo >&2 "${CHUNK}: (${CHUNK_URL}) meta2 not updated for rawx ${RAWX_ID_TO_REBUILD}"
# FAIL=true
Expand Down
8 changes: 4 additions & 4 deletions tools/oio-test-suites.sh
Expand Up @@ -213,8 +213,8 @@ func_tests () {
if is_running_test_suite "with_tls"; then
args="${args} -f ${SRCDIR}/etc/bootstrap-option-tls.yml"
fi
if is_running_test_suite "predictible-chunk-ids"; then
args="${args} -f ${SRCDIR}/etc/bootstrap-option-predictible-chunk-ids.yml"
if is_running_test_suite "predictable-chunk-ids"; then
args="${args} -f ${SRCDIR}/etc/bootstrap-option-predictable-chunk-ids.yml"
fi
$OIO_RESET ${args} -N $OIO_NS $@

Expand Down Expand Up @@ -407,8 +407,8 @@ func_tests_rebuilder_mover () {
if is_running_test_suite "with-random-service-id"; then
args="${args} -R"
fi
if is_running_test_suite "predictible-chunk-ids"; then
args="${args} -f ${SRCDIR}/etc/bootstrap-option-predictible-chunk-ids.yml"
if is_running_test_suite "predictable-chunk-ids"; then
args="${args} -f ${SRCDIR}/etc/bootstrap-option-predictable-chunk-ids.yml"
fi
$OIO_RESET ${args} -N $OIO_NS $@

Expand Down

0 comments on commit 8eea507

Please sign in to comment.