diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 93668388..9d71eb38 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,6 +30,10 @@ jobs: ports: - 9200:9200 steps: + - name: Remove unwanted software # to free up required disk space + uses: AdityaGarg8/remove-unwanted-software@v2 + with: + remove-android: 'true' - name: Checkout uses: actions/checkout@v4 - name: Setup python diff --git a/bin/mocks/elasticsearch.py b/bin/mocks/elasticsearch.py index 4912f617..3a2a9fd7 100644 --- a/bin/mocks/elasticsearch.py +++ b/bin/mocks/elasticsearch.py @@ -31,7 +31,7 @@ def patched_es_init(self, *args, **kwargs): assert kwargs["cloud_id"] == "foo" if "api_key" in kwargs: assert kwargs["api_key"] == "bar" - return orig_es_init(self, "http://localhost:9200") + return orig_es_init(self, "http://localhost:9200", timeout=60) # patch Elasticsearch.__init__ elasticsearch.Elasticsearch.__init__ = patched_es_init diff --git a/bin/nbtest b/bin/nbtest index 21a622ad..39683994 100755 --- a/bin/nbtest +++ b/bin/nbtest @@ -2,7 +2,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) if [[ ! -f $SCRIPT_DIR/../.venv/bin/nbtest ]]; then - make nbtest + make install-nbtest fi if [[ "$PATCH_ES" != "" ]]; then