Skip to content

Commit

Permalink
Cleaning up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stebet committed Jan 8, 2025
1 parent ea5bf65 commit 932cf97
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.StartJSWithTrace(_output);
await using var server = NatsServer.StartJS(_output);

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 468 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'
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.StartJSWithTrace(_output);
await using var server = NatsServer.StartJS(_output);

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Linux (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (latest)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (main)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'

Check failure on line 500 in tests/NATS.Client.KeyValueStore.Tests/KeyValueStoreTest.cs

View workflow job for this annotation

GitHub Actions / Windows (v2.9)

There is no argument given that corresponds to the required parameter 'transportType' of 'NatsServer.StartJS(ITestOutputHelper, TransportType)'
await using var nats = server.CreateClientConnection();

var js = new NatsJSContext(nats);
Expand Down

0 comments on commit 932cf97

Please sign in to comment.