Skip to content

Commit

Permalink
Reverted test debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Oct 30, 2023
1 parent 2faa786 commit 49be4db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/NATS.Client.Services.Tests/ServicesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ public async Task Add_end_point()
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(10_0000));
var cancellationToken = cts.Token;

// await using var server = NatsServer.Start();
// await using var nats = server.CreateClientConnection();
var nats = new NatsConnection();
await using var server = NatsServer.Start();
await using var nats = server.CreateClientConnection();
var svc = new NatsSvcContext(nats);

await using var s1 = await svc.AddServiceAsync("s1", "1.0.0", cancellationToken: cancellationToken);
Expand Down

0 comments on commit 49be4db

Please sign in to comment.