Skip to content

Commit 662f963

Browse files
committed
fix failing integration tests due to changes in the test runner, graphexplore was running against the wrong cluster
1 parent a058d0f commit 662f963

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Tests/Tests/XPack/Graph/Explore/GraphExploreApiTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ namespace Tests.XPack.Graph.Explore
1414
{
1515
[SkipVersion("<2.3.0", "")]
1616
public class GraphExploreApiTests
17-
: ApiIntegrationTestBase<ReadOnlyCluster, IGraphExploreResponse, IGraphExploreRequest, GraphExploreDescriptor<Project>, GraphExploreRequest>
17+
: ApiIntegrationTestBase<XPackCluster, IGraphExploreResponse, IGraphExploreRequest, GraphExploreDescriptor<Project>, GraphExploreRequest>
1818
{
19-
public GraphExploreApiTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
19+
public GraphExploreApiTests(XPackCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
2020

2121
protected override bool ExpectIsValid => true;
2222

src/Tests/Tests/XPack/Security/ClearCachedRealms/ClearCachedRealmsApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected override LazyResponses ClientUsage() => Calls(
4545

4646
protected override void ExpectResponse(IClearCachedRealmsResponse response)
4747
{
48-
response.ClusterName.Should().StartWith("xpack-cluster-");
48+
response.ClusterName.Should().StartWith("ephemeral-cluster-");
4949
response.Nodes.Should().NotBeEmpty().And.HaveCount(1);
5050
var node = response.Nodes.First().Value;
5151
node.Should().NotBeNull();

src/Tests/Tests/XPack/Security/Role/ClearCachedRoles/ClearCachedRolesApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected override LazyResponses ClientUsage() => Calls(
4646

4747
protected override void ExpectResponse(IClearCachedRolesResponse response)
4848
{
49-
response.ClusterName.Should().StartWith("xpack-cluster-");
49+
response.ClusterName.Should().StartWith("ephemeral-cluster-");
5050
response.Nodes.Should().NotBeEmpty().And.HaveCount(1);
5151
var node = response.Nodes.First().Value;
5252
node.Should().NotBeNull();

0 commit comments

Comments
 (0)