This commit is contained in:
@@ -158,9 +158,6 @@ namespace raven_integration
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TODO: WILDCARD SEARCH TEST
|
|
||||||
//TODO: WILDCARD PLUS NON WILDCARD SEARCH TEST
|
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void WildCardStartsWithSearchShouldWork()
|
public async void WildCardStartsWithSearchShouldWork()
|
||||||
{
|
{
|
||||||
@@ -479,6 +476,11 @@ namespace raven_integration
|
|||||||
//assert it's not unbounded
|
//assert it's not unbounded
|
||||||
ResultCount.Should().BeLessOrEqualTo(1000);
|
ResultCount.Should().BeLessOrEqualTo(1000);
|
||||||
|
|
||||||
|
//assert the TotalResultsFound is greater than the results returned
|
||||||
|
var TotalResultsFound = a.ObjectResponse["result"]["totalResultsFound"].Value<long>();
|
||||||
|
//assert it's not unbounded
|
||||||
|
TotalResultsFound.Should().BeGreaterThan(ResultCount);
|
||||||
|
|
||||||
//5456 ms is the longest I've seen in initial testing with all 1000 results so setting 10% above
|
//5456 ms is the longest I've seen in initial testing with all 1000 results so setting 10% above
|
||||||
TimeToSearch.Should().BeLessThan(6000, "Constrained big data search should not be too slow");
|
TimeToSearch.Should().BeLessThan(6000, "Constrained big data search should not be too slow");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user