Skip to content

Commit 80831b4

Browse files
committed
try to fix tests
1 parent f06a6ba commit 80831b4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

test/FluentRest.Tests/FluentEchoTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public async Task EchoPostData()
255255
Assert.Equal(user.FirstName, result.Json.Value.GetProperty("firstName").GetString());
256256
}
257257

258-
//[Fact]
258+
[Fact]
259259
public async Task EchoPostRawJsonContent()
260260
{
261261
var user = UserData.Create();

test/FluentRest.Tests/HostFixture.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public async Task InitializeAsync()
2828
{
2929
await _container.StartAsync();
3030

31+
// wait for startup
32+
await Task.Delay(5000);
33+
3134
// get container url
3235
HttpBinUrl = $"http://{_container.Hostname}:{_container.GetMappedPublicPort(80)}";
3336
}

0 commit comments

Comments
 (0)