Skip to content

Commit 2f58bda

Browse files
committed
fix order or obj puts
1 parent 8f53949 commit 2f58bda

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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)