From e4b2ecb40998384e25fbc2a84a8bdb1dbdfb9491 Mon Sep 17 00:00:00 2001 From: wangyan Date: Wed, 30 Aug 2017 12:33:55 +0800 Subject: [PATCH] update --- tests/integration.sh | 2 +- tests/resources/Harbor-Pages/Replication.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.sh b/tests/integration.sh index 1219ff024..cb6023f8a 100755 --- a/tests/integration.sh +++ b/tests/integration.sh @@ -75,7 +75,7 @@ echo $rc timestamp=$(date +%s) outfile="integration_logs_"$DRONE_BUILD_NUMBER"_"$DRONE_COMMIT".zip" -zip -9 $outfile output.xml log.html *.png package.list *container-logs.zip *.log /var/log/harbor/*/*.log /data/config/* +zip -9 $outfile output.xml log.html *.png package.list *container-logs.zip *.log /var/log/harbor/*/*.log /data/config/* /data/job_logs/* if [ -f "$outfile" ]; then gsutil cp $outfile gs://harbor-ci-logs echo "----------------------------------------------" diff --git a/tests/resources/Harbor-Pages/Replication.robot b/tests/resources/Harbor-Pages/Replication.robot index 757cafe11..e8cd5579c 100644 --- a/tests/resources/Harbor-Pages/Replication.robot +++ b/tests/resources/Harbor-Pages/Replication.robot @@ -36,7 +36,7 @@ Create An New Rule With New Endpoint Input text xpath=${destination_username_xpath} ${destination_username} Input text xpath=${destination_password_xpath} ${destination_password} Click element xpath=${replicaton_save_xpath} - Sleep 2 + Sleep 5 Capture Page Screenshot rule_${policy_name}.png Wait Until Page Contains ${policy_name} Wait Until Page Contains ${policy_description}