opensearch-project/OpenSearch

[Remote Store] Adding negative test case in RemoteStoreRepositoryRegistrationIT

Open

#9.675 geöffnet am 31. Aug. 2023

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.505 Forks)batch import
StorageStorage:Remoteenhancementgood first issue

Repository-Metriken

Stars
 (8.123 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 9h) (266 gemergte PRs in 30 T)

Beschreibung

RemoteStoreRepositoryRegistrationIT supports only the positive test case while all the positive and negative test case is present in JoinTaskExecutorTests. Need to add more negative ITs

  • The node join fails due to node attribute values being different during bootstrap.
  • Node join fails if a node goes out of cluster and tries to join back with different attributes.
  • A non remote store node trying to join a remote store cluster.
  • A remote store node trying to join a non remote store cluster.
  • Node join fails due to repository creation fails.
  • Node join fails due to repository verification fails.

Additional context https://github.com/opensearch-project/OpenSearch/pull/9105#discussion_r1306914007

Contributor Guide