Skip to content

Commit

Permalink
Adapt tests for faster security config setup
Browse files Browse the repository at this point in the history
Signed-off-by: Jens <jens.schmidt@eliatra.com>
  • Loading branch information
salyh authored and dr-lilienthal committed Jan 9, 2025
1 parent 1bd1cc9 commit 49ca20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensearch-operator/pkg/reconcilers/securityconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ echo 'Waiting to connect to the cluster'; sleep 10;
done;count=0;
until $ADMIN -cacert /certs/ca.crt -cert /certs/tls.crt -key /certs/tls.key -cd /usr/share/opensearch/config/opensearch-security -icl -nhnv -h no-securityconfig-tls-configured.no-securityconfig-tls-configured.svc.cluster.local -p 9200 || (( count++ >= 20 ));
do
sleep 20;
sleep 10;
done;`

Expect(createdJob.Spec.Template.Spec.Containers[0].Args[0]).To(Equal(cmdArg))
Expand Down

0 comments on commit 49ca20b

Please sign in to comment.