diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 090523425c..21864463b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -211,7 +211,7 @@ jobs: max_attempts: 2 retry_on: error timeout_minutes: 10 - command: source .venv/bin/activate && make -C nucliadb test-cov-nucliadb pytest_extra_flags="--shard-id=${{ matrix.shard }} --num-shards=3" + command: source .venv/bin/activate && make -C nucliadb test-cov-nucliadb pytest_extra_flags="--shard-id=${{ matrix.shard }} --num-shards=3 -n 4" || make -C nucliadb test-cov-nucliadb pytest_extra_flags="--shard-id=${{ matrix.shard }} --num-shards=3 --lf" - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/nucliadb_vectors/src/data_point_provider/reader.rs b/nucliadb_vectors/src/data_point_provider/reader.rs index c3192a00fd..00548401ec 100644 --- a/nucliadb_vectors/src/data_point_provider/reader.rs +++ b/nucliadb_vectors/src/data_point_provider/reader.rs @@ -185,6 +185,7 @@ impl Reader { } => dimension == query.len(), }; if !valid_dims { + println!("Inconsistent dimension, stored {:?}, query {}", self.config, query.len()); return Err(VectorErr::InconsistentDimensions); }