Skip to content

Commit

Permalink
add test case for update log/create_log for changes:
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Feb 2, 2018
1 parent 35d49d2 commit fe5e9c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python:
- "pypy3"

install:
# - pip install git+https://github.com/aliyun/aliyun-log-python-sdk.git@master
- pip install git+https://github.com/aliyun/aliyun-log-python-sdk.git@master
- pip install -U .

script:
Expand Down
2 changes: 1 addition & 1 deletion aliyunlogcli/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

__version__ = '0.1.7'
__version__ = '0.1.8'
from aliyun.log.version import USER_AGENT as SDK_USER_AGENT
USER_AGENT = 'log-cli-v-' + __version__ + ", " + SDK_USER_AGENT
4 changes: 2 additions & 2 deletions tests/cmd_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ aliyun log create_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logs

aliyun log create_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstore_name="logstore2" --ttl=2 --shard_count="2"

aliyun log create_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstore_name="logstore3" --ttl=2 --shard_count="2"
aliyun log create_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstore_name="logstore3" --ttl=2 --shard_count="2" --enable_tracking=true


# create index
Expand Down Expand Up @@ -216,7 +216,7 @@ aliyun log update_index --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstor
aliyun log update_consumer_group --project="dlq-test-cli-${RANDOM_NUMBER}" --logstore="logstore1" --consumer_group="consumer_group1" --timeout=20 --in_order="true"


# aliyun log update_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstore_name="logstore2" --ttl=3 --shard_count="3"
# aliyun log update_logstore --project_name="dlq-test-cli-${RANDOM_NUMBER}" --logstore_name="logstore2" --ttl=3 --enable_tracking=true

aliyun log update_logtail_config --project_name="dlq-test-cli-${RANDOM_NUMBER}" --config_detail="file://./create_logtail_config_file.json"
aliyun log update_machine_group --project_name="dlq-test-cli-${RANDOM_NUMBER}" --group_detail="file://./create_machine_group.json"
Expand Down

0 comments on commit fe5e9c5

Please sign in to comment.