We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 757485b commit a005f43Copy full SHA for a005f43
src/Tests/Nest.Tests.Integration/Indices/OpenCloseTests.cs
@@ -45,8 +45,8 @@ public void CloseAndSearchAndOpenIndex()
45
46
var error = results.ServerError;
47
error.Should().NotBeNull();
48
- error.ExceptionType.Should().Be("ClusterBlockException");
49
- error.Error.Should().Contain("index closed");
+ error.ExceptionType.Should().BeOneOf("ClusterBlockException", "IndexClosedException");
+ error.Error.Should().Contain("closed");
50
51
r = this._client.OpenIndex(ElasticsearchConfiguration.DefaultIndex);
52
Assert.True(r.Acknowledged);
0 commit comments