From 88cd60d0f06ca0b9fb993c69a7177afaaf67b359 Mon Sep 17 00:00:00 2001 From: YooSunyoung Date: Mon, 4 Nov 2024 10:53:52 +0100 Subject: [PATCH 1/2] Fix scicat ingestor command in the integration test. --- tests/_scicat_ingestor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_scicat_ingestor.py b/tests/_scicat_ingestor.py index af4470e..4dbc2c4 100644 --- a/tests/_scicat_ingestor.py +++ b/tests/_scicat_ingestor.py @@ -11,7 +11,7 @@ # Run the main function in a subprocess command = ( "scicat_ingestor", - *(sys.argv[1:] or ["--verbose", "-c", "resources/config.sample.json"]), + *(sys.argv[1:] or ["--logging.verbose", "-c", "resources/config.sample.json"]), ) process = subprocess.Popen(command) # noqa: S603 From 02da5c039a18043655d4396ace69279bacf76e49 Mon Sep 17 00:00:00 2001 From: YooSunyoung Date: Mon, 4 Nov 2024 10:59:00 +0100 Subject: [PATCH 2/2] Fix command in the github action. --- .github/workflows/integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 55fc516..b9fffea 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -28,5 +28,5 @@ jobs: - run: validate_ingestor_config resources/config.sample.json - run: docker-compose version - run: docker-compose -f tests/docker-compose-file-writer.yml up -d - - run: python tests/_scicat_ingestor.py -c resources/config.sample.json --verbose + - run: python tests/_scicat_ingestor.py -c resources/config.sample.json --logging.verbose - run: docker-compose -f tests/docker-compose-file-writer.yml down