This is an automated email from the ASF dual-hosted git repository.
blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git
The following commit(s) were added to refs/heads/master by this push:
new f3e2ee7 Fixed warning with deprecated constructor
f3e2ee7 is described below
commit f3e2ee70f7233c0ac62c3bd00d04f21977855ac0
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Thu Jan 29 12:35:54 2026 +0100
Fixed warning with deprecated constructor
---
tests/DotPulsar.Tests/IntegrationFixture.cs | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/DotPulsar.Tests/IntegrationFixture.cs
b/tests/DotPulsar.Tests/IntegrationFixture.cs
index c0b5d99..a3e543b 100644
--- a/tests/DotPulsar.Tests/IntegrationFixture.cs
+++ b/tests/DotPulsar.Tests/IntegrationFixture.cs
@@ -50,8 +50,7 @@ public class IntegrationFixture : IAsyncLifetime
.WithName(Guid.NewGuid().ToString("D"))
.Build();
- _toxiProxy = new ContainerBuilder()
- .WithImage("ghcr.io/shopify/toxiproxy:2.12.0")
+ _toxiProxy = new ContainerBuilder("ghcr.io/shopify/toxiproxy:2.12.0")
.WithPortBinding(ToxiProxyControlPort, true)
.WithPortBinding(ToxiProxyPort, true)
.WithHostname("toxiproxy")
@@ -59,8 +58,7 @@ public class IntegrationFixture : IAsyncLifetime
.WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(strategy
=> strategy.ForPath("/version").ForPort(ToxiProxyControlPort)))
.Build();
- _pulsarCluster = new PulsarBuilder()
- .WithImage("apachepulsar/pulsar:4.0.8")
+ _pulsarCluster = new PulsarBuilder("apachepulsar/pulsar:4.0.8")
.WithAuthentication()
.WithNetwork(_network)
.WithHostname("pulsar")