From dcfc5f203ef7271db40190c0a6fa7ddc95440bf0 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Sat, 23 Dec 2023 00:16:16 +0400 Subject: [PATCH] ci: no unnecessary sleep and retry in basic test --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 209cb2b..e19f768 100644 --- a/.drone.yml +++ b/.drone.yml @@ -99,10 +99,9 @@ steps: commands: - source $(nix build $TESTS_REPO#library --print-out-paths) - dig api.$DOMAIN - - sleep 1 - retry $TIMEOUT_1 10 http -v --check-status --ignore-stdin GET https://api.$DOMAIN/services/status Authorization:"Bearer $USER_PASS" - swaks --to ci@$DOMAIN -s selfprivacy.org -tls -au test@selfprivacy.org -ap $TEST_EMAIL_PASS -ahp - - retry 30 10 http -v --check-status --ignore-stdin GET https://cloud.$DOMAIN/ocs/v2.php/apps/serverinfo/api/v1/info?format=json -a admin:$USER_PASS + - http -v --check-status --ignore-stdin GET https://cloud.$DOMAIN/ocs/v2.php/apps/serverinfo/api/v1/info?format=json -a admin:$USER_PASS - echo "File to test nextcloud upload" > file - http -v --check-status --ignore-stdin PUT https://cloud.$DOMAIN/remote.php/dav/files/admin/file @file -a admin:$USER_PASS - http -v --check-status --ignore-stdin GET https://cloud.$DOMAIN/remote.php/dav/files/admin/file -a admin:$USER_PASS