Skip to content

Commit 7583ec2

Browse files
committed
Windows runner sporadically times out for 1 second async test runs (shared runner?)
1 parent 28ead41 commit 7583ec2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

SerializerBenchmarks.UnitTests/AsyncBenchmarkTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private static int GetNextPort()
2222
WhiteHolePort = GetNextPort()
2323
};
2424

25-
[Theory(Timeout = 1000)]
25+
[Theory(Timeout = 10000)]
2626
[InlineData(typeof(Ceras<DataItem>))]
2727
[InlineData(typeof(Utf8JsonSerializer<DataItem>))]
2828
[InlineData(typeof(MessagePack<DataItem>))]
@@ -56,7 +56,7 @@ public async Task SerializeAsyncTest(Type serializerType)
5656
await _benchmark.SerializeAsync();
5757
}
5858

59-
[Theory(Timeout = 1000)]
59+
[Theory(Timeout = 10000)]
6060
[InlineData(typeof(Ceras<DataItem>))]
6161
[InlineData(typeof(Utf8JsonSerializer<DataItem>))]
6262
[InlineData(typeof(MessagePack<DataItem>))]
@@ -91,7 +91,7 @@ public async Task BufferedSerializeAsyncTest(Type serializerType)
9191
await _benchmark.SerializeAsync();
9292
}
9393

94-
[Theory(Timeout = 1000)]
94+
[Theory(Timeout = 10000)]
9595
[InlineData(typeof(Ceras<DataItem>))]
9696
[InlineData(typeof(Utf8JsonSerializer<DataItem>))]
9797
[InlineData(typeof(MessagePack<DataItem>))]
@@ -125,7 +125,7 @@ public async Task DeserializeAsyncTest(Type serializerType)
125125
await _benchmark.DeserializeAsync();
126126
}
127127

128-
[Theory(Timeout = 1000)]
128+
[Theory(Timeout = 10000)]
129129
[InlineData(typeof(Ceras<DataItem>))]
130130
[InlineData(typeof(Utf8JsonSerializer<DataItem>))]
131131
[InlineData(typeof(MessagePack<DataItem>))]

0 commit comments

Comments
 (0)