From 9759f4dd1ae36a8203bb392515cafea7dfe7f73d Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 26 Feb 2022 22:12:00 -0800 Subject: [PATCH] fix: lint checks and enable MINIO_CI_CD=1 for functional tests (#1181) --- minio/credentials/providers.py | 2 +- run_functional_tests.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/minio/credentials/providers.py b/minio/credentials/providers.py index fb2821bb7..7489f2dbc 100644 --- a/minio/credentials/providers.py +++ b/minio/credentials/providers.py @@ -25,9 +25,9 @@ import time from abc import ABCMeta, abstractmethod from datetime import timedelta +from pathlib import Path from urllib.parse import urlencode, urlsplit from xml.etree import ElementTree -from pathlib import Path import urllib3 diff --git a/run_functional_tests.sh b/run_functional_tests.sh index adea42477..72813fed5 100755 --- a/run_functional_tests.sh +++ b/run_functional_tests.sh @@ -30,6 +30,7 @@ function run_minio_server() { export MINIO_NOTIFY_WEBHOOK_ENABLE_miniopytest=on export MINIO_NOTIFY_WEBHOOK_ENDPOINT_miniopytest=http://example.org/ export SQS_ARN="arn:minio:sqs::miniopytest:webhook" + export MINIO_CI_CD=1 tests/functional/minio server --config-dir tests/functional/.cfg tests/functional/.d{1...4} >tests/functional/minio.log 2>&1 & }