From 05d4c4e6ed80b2e47d7f78f041e951f625935e3b Mon Sep 17 00:00:00 2001 From: Alok Kumar Singh <62210712+akstron@users.noreply.github.com> Date: Sun, 1 Dec 2024 06:56:12 -0800 Subject: [PATCH] Fix password in integration test (#6284) ## Which problem is this PR solving? Minor fix in cassandra initialization for integration test ## Description of the changes - Changed environment variable used for initialization ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Alok Kumar Singh --- plugin/storage/integration/cassandra_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/storage/integration/cassandra_test.go b/plugin/storage/integration/cassandra_test.go index c8f88d01452..39b3bf18c34 100644 --- a/plugin/storage/integration/cassandra_test.go +++ b/plugin/storage/integration/cassandra_test.go @@ -52,7 +52,7 @@ func (*CassandraStorageIntegration) initializeCassandraFactory(t *testing.T, fla func (s *CassandraStorageIntegration) initializeCassandra(t *testing.T) { username := os.Getenv("CASSANDRA_USERNAME") - password := os.Getenv("CASSANDRA_USERNAME") + password := os.Getenv("CASSANDRA_PASSWORD") f := s.initializeCassandraFactory(t, []string{ "--cassandra.basic.allowed-authenticators=org.apache.cassandra.auth.PasswordAuthenticator", "--cassandra.password=" + password,