This is an automated email from the ASF dual-hosted git repository.
maciej pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new 2098f4918 test(csharp): wait for HTTP readiness in fixture (#3024)
2098f4918 is described below
commit 2098f49185f0cd3ea8dabeb0f8f3a975c7f0dafe
Author: Aviraj Khare <[email protected]>
AuthorDate: Wed Mar 25 02:30:50 2026 +0530
test(csharp): wait for HTTP readiness in fixture (#3024)
---
.../csharp/Iggy_SDK.Tests.Integration/Fixtures/IggyServerFixture.cs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/foreign/csharp/Iggy_SDK.Tests.Integration/Fixtures/IggyServerFixture.cs
b/foreign/csharp/Iggy_SDK.Tests.Integration/Fixtures/IggyServerFixture.cs
index 7d088dc7e..d8d7fe3b4 100644
--- a/foreign/csharp/Iggy_SDK.Tests.Integration/Fixtures/IggyServerFixture.cs
+++ b/foreign/csharp/Iggy_SDK.Tests.Integration/Fixtures/IggyServerFixture.cs
@@ -72,7 +72,11 @@ public class IggyServerFixture : IAsyncInitializer,
IAsyncDisposable
var builder = new ContainerBuilder(DockerImage)
.WithPortBinding(3000, true)
.WithPortBinding(8090, true)
-
.WithWaitStrategy(Wait.ForUnixContainer().UntilInternalTcpPortIsAvailable(8090))
+ .WithWaitStrategy(Wait.ForUnixContainer()
+ .UntilInternalTcpPortIsAvailable(8090)
+ .UntilHttpRequestIsSucceeded(request => request
+ .ForPort(3000)
+ .ForPath("/ping")))
.WithName(_containerId)
.WithPrivileged(true)
.WithCleanUp(true);