Skip to content

Commit e1d1634

Browse files
committed
Be a little bit more releaxed with serialization max time in unit tests, not constant (might be related to JSON.NET concurrent structures)
1 parent 441e8ca commit e1d1634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Nest.Tests.Unit/QueryParsers/Queries/ParseQueryTestsBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Func<QueryDescriptor<ElasticsearchProject>, QueryContainer> create
3636
descriptor = this.GetSearchDescriptorForQuery(s => s.Query(descriptor.Query));
3737
sw.Stop();
3838
//deserialize/serialize descriptors should be fast for all descriptors
39-
sw.ElapsedMilliseconds.Should().BeLessOrEqualTo(10, "(de)?serializing taking a bit too long whats going on here?");
39+
sw.ElapsedMilliseconds.Should().BeLessOrEqualTo(30, "(de)?serializing taking a bit too long whats going on here?");
4040
query = queryBaseDescriptor(descriptor.Query);
4141
query.Should().NotBeNull();
4242
return query;

0 commit comments

Comments
 (0)