Skip to content

Commit

Permalink
Rename cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Aug 15, 2024
1 parent e087452 commit 62a8e8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
restore-keys: |
${{ runner.os }}-nuget-
# - run: "./build.sh integrate $VERSION readonly,replicatedreadonly,writable random:test_only_one --report"
- run: "./build.sh integrate $VERSION replicatedreadonly random:test_only_one --report"
- run: "./build.sh integrate $VERSION readonly,multinode,writable random:test_only_one --report"
# - run: "./build.sh integrate $VERSION replicatedreadonly random:test_only_one --report"
name: Integration Tests
working-directory: client
env:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
knn_plugin: true
plugins_output_directory: ${{ env.OPENSEARCH_PLUGINS_DIRECTORY }}

- run: "./build.sh integrate $OPENSEARCH_VERSION readonly,replicatedreadonly,writable random:test_only_one --report"
- run: "./build.sh integrate $OPENSEARCH_VERSION readonly,multinode,writable random:test_only_one --report"
name: Integration Tests
working-directory: client
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public ReadOnlyCluster() : base(Knn, MapperMurmur3, Security) { }
protected override void SeedNode() => new DefaultSeeder(Client).SeedNode();
}

public class ReplicatedReadOnlyCluster : ClientTestClusterBase
public class MultiNodeCluster : ClientTestClusterBase
{
public ReplicatedReadOnlyCluster() : base(new ClientTestClusterConfiguration(numberOfNodes: 2, plugins: [Knn, MapperMurmur3, Security])
public MultiNodeCluster() : base(new ClientTestClusterConfiguration(numberOfNodes: 2, plugins: [Knn, MapperMurmur3, Security])
{
NoCleanupAfterNodeStopped = true
}) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace Tests.Cat.CatSegmentReplication;

[SkipVersion("<2.7.0", "/_cat/segment_replication was added in version 2.7.0")]
public class CatSegmentReplicationApiTests
: ApiIntegrationTestBase<ReplicatedReadOnlyCluster, CatResponse<CatSegmentReplicationRecord>, ICatSegmentReplicationRequest, CatSegmentReplicationDescriptor, CatSegmentReplicationRequest>
: ApiIntegrationTestBase<MultiNodeCluster, CatResponse<CatSegmentReplicationRecord>, ICatSegmentReplicationRequest, CatSegmentReplicationDescriptor, CatSegmentReplicationRequest>
{
public CatSegmentReplicationApiTests(ReplicatedReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
public CatSegmentReplicationApiTests(MultiNodeCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

private static readonly string IndexName = nameof(CatSegmentReplicationApiTests).ToLower();

Expand Down

0 comments on commit 62a8e8a

Please sign in to comment.