Skip to content

Commit

Permalink
Add CQLSH_PORT environment variable
Browse files Browse the repository at this point in the history
Signed-off-by: Ashmita Bohara <[email protected]>
  • Loading branch information
Ashmita152 committed Oct 12, 2020
1 parent f38619c commit 48a8240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/cassandra_dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func TestCassandraDefaultPort(t *testing.T) {
assert.Len(t, b[0].Spec.Template.Spec.Containers, 1)
for _, e := range b[0].Spec.Template.Spec.Containers[0].Env {
if e.Name == "CQLSH_PORT" {
foundValue := e.Value
assert.Equal(t, "9042", foundValue, "unexpected CQLSH_PORT environment var value")
assert.Equal(t, "9042", e.Value, "unexpected CQLSH_PORT environment var value")
return
}
}
assert.Fail(t, "value for CQLSH_PORT environment var not found")
Expand Down

0 comments on commit 48a8240

Please sign in to comment.