diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-11-21 06:27:49 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-11-21 07:12:02 +0000 |
commit | c3b39a30e4c9cc5eafbe38c718f8f34721af5ebb (patch) | |
tree | 8f337e94c71507681d5dd0f0d6b4854f6193ddc6 /docker/smoke/Dockerfile | |
parent | 587f9163769f988a8a3ba592dc10ef2d994588e8 (diff) |
Fix rally db issue
Also update "rally-manage db" to "rally db"
Change-Id: I0c9924b9869135d3492dfafe89d085813290f565
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r-- | docker/smoke/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 01414f3e7..4485699c9 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -36,7 +36,7 @@ RUN apk --no-cache add --virtual .build-deps --update \ rm -r upper-constraints.txt /src/refstack-client/.git /src/odl_test/.git /src/os-faults /src/rally && \ mkdir -p /etc/rally && \ printf "[database]\nconnection = 'sqlite:////var/lib/rally/database/rally.sqlite'" > /etc/rally/rally.conf && \ - mkdir -p /var/lib/rally/database && rally-manage db create && \ + mkdir -p /var/lib/rally/database && rally db create && \ apk del .build-deps COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml CMD ["bash","-c","prepare_env start && run_tests -t all"] |