Skip to content

Commit

Permalink
Fix password in integration test (#6284)
Browse files Browse the repository at this point in the history
## 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 <[email protected]>
  • Loading branch information
akstron authored Dec 1, 2024
1 parent 39e3bfb commit 05d4c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/integration/cassandra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 05d4c4e

Please sign in to comment.