Skip to content

Commit 83978ba

Browse files
committed
fix qdrant server / local file differentiation
1 parent 8abaa17 commit 83978ba

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/test_destinations_local.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ env:
1313
RUNTIME__LOG_LEVEL: ERROR
1414
RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}
1515

16-
DESTINATION__QDRANT__CREDENTIALS__location: http://localhost:6333
17-
1816
jobs:
1917

2018
run_destinations_local:

tests/.dlt/dev.secrets.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module_config = "{\"text2vec-contextionary\": {\"vectorizeClassName\": false, \"
2929
[destination.postgres]
3030
credentials = "postgresql://loader:loader@localhost:5432/dlt_data"
3131

32+
# NOTE: specified directly in code
3233
# [destination.qdrant.credentials]
3334
# location = "http://localhost:6333"
3435

tests/load/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,11 @@ def destinations_configs(
398398
credentials=dict(path=str(Path(FILE_BUCKET) / "qdrant_data")),
399399
extra_info="local-file",
400400
),
401-
DestinationTestConfiguration(destination_type="qdrant", extra_info="server"),
401+
DestinationTestConfiguration(
402+
destination_type="qdrant",
403+
credentials=dict(location="http://localhost:6333"),
404+
extra_info="server",
405+
),
402406
]
403407

404408
if (default_sql_configs or all_staging_configs) and not default_sql_configs:

0 commit comments

Comments
 (0)