Skip to content

Commit 009bb71

Browse files
Merge pull request #43 from sqlitecloud/fix/pubsub-sqlite-type
fix(tests): align PubSub update payload field
2 parents 81025b2 + f98c34a commit 009bb71

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/test.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
fail-fast: false
15+
# The integration suite mutates the shared configured cloud database.
16+
# Keep matrix entries isolated from one another until each uses its own database.
17+
max-parallel: 1
1518
matrix:
1619
# last supported for sqlitecloud, last security maintained, last release
1720
include:

‎src/tests/integration/test_pubsub.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def assert_callback(conn, result, data):
194194
assert content["channel"] == "genres"
195195
assert len(content["payload"]) > 0
196196
assert content["payload"][0]["Name"] == new_name
197-
assert content["payload"][0]["type"] == "UPDATE"
197+
assert content["payload"][0]["sqlite_type"] == "UPDATE"
198198

199199
assert data == ["somedata"]
200200
callback_called = True

0 commit comments

Comments
 (0)