Skip to content

Commit 1520289

Browse files
authored
Merge pull request #728 from alexbozhenko/fix_test
Fix test_object_list
2 parents 8f53949 + 4ad3792 commit 1520289

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
21-
nats_version: ["v2.10.29", "v2.11.6", "main"]
21+
nats_version: ["v2.10.29", "v2.11.8", "main"]
2222
include:
2323
- nats_version: "main"
2424
continue-on-error: true

tests/test_js.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4057,12 +4057,10 @@ async def error_handler(e):
40574057
"TEST_LIST",
40584058
config=nats.js.api.ObjectStoreConfig(description="listing", ),
40594059
)
4060-
await asyncio.gather(
4061-
obs.put("A", b"AAA"),
4062-
obs.put("B", b"BBB"),
4063-
obs.put("C", b"CCC"),
4064-
obs.put("D", b"DDD"),
4065-
)
4060+
await obs.put("A", b"AAA")
4061+
await obs.put("B", b"BBB")
4062+
await obs.put("C", b"CCC")
4063+
await obs.put("D", b"DDD")
40664064
entries = await obs.list()
40674065
assert len(entries) == 4
40684066
assert entries[0].name == "A"

0 commit comments

Comments
 (0)