Skip to content

Commit

Permalink
fixed ingest client assignment in TestSmokeRoles test (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable authored Sep 17, 2024
1 parent cd0d559 commit 95b8327
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions quest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,13 @@ func TestSmokeRoles(t *testing.T) {
queryClient.Username = username
queryClient.Password = password
if NewGlob.IngestorUrl.String() != "" {
ingestClient := NewGlob.IngestorClient
ingestClient = NewGlob.IngestorClient
ingestClient.Username = username
ingestClient.Password = password
} else {
ingestClient = queryClient
ingestClient = NewGlob.QueryClient
ingestClient.Username = username
ingestClient.Password = password
}

checkAPIAccess(t, queryClient, ingestClient, NewGlob.Stream, tc.roleName)
Expand Down

0 comments on commit 95b8327

Please sign in to comment.