Skip to content

Commit

Permalink
Fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stebet committed Jan 8, 2025
1 parent 932cf97 commit a1f1ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public async Task TestMessageTTL()
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(10));
var cancellationToken = cts.Token;

await using var server = NatsServer.StartJS(_output);
await using var server = NatsServer.StartJS();
await using var nats = server.CreateClientConnection();

var js = new NatsJSContext(nats);
Expand Down Expand Up @@ -497,7 +497,7 @@ public async Task TestMessageNeverExpire()
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(10));
var cancellationToken = cts.Token;

await using var server = NatsServer.StartJS(_output);
await using var server = NatsServer.StartJS();
await using var nats = server.CreateClientConnection();

var js = new NatsJSContext(nats);
Expand Down

0 comments on commit a1f1ba6

Please sign in to comment.