Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
varunch77 committed Jan 25, 2025
1 parent 8c24c20 commit be80c4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cloudwatchlogs/publish_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ func TestLogGroupClass(t *testing.T) {
t.Run(param.testName, func(t *testing.T) {
// add instance id to ensure that running integration tests concurrently doesn't cause tests
// to operate and validate with the same log groups and lead to flaky results
param.logGroupName += "-" + instanceId
fmt.Print(param.logGroupName)
defer awsservice.DeleteLogGroupAndStream(param.logGroupName, instanceId)
logGroupName := param.logGroupName + "-" + instanceId
log.Print(logGroupName)
//defer awsservice.DeleteLogGroupAndStream(logGroupName, instanceId)
common.DeleteFile(common.AgentLogFile)
common.TouchFile(common.AgentLogFile)

Expand All @@ -273,7 +273,7 @@ func TestLogGroupClass(t *testing.T) {
}
t.Logf("Agent logs %s", string(agentLog))

assert.True(t, awsservice.IsLogGroupExists(param.logGroupName, param.logGroupClass))
assert.True(t, awsservice.IsLogGroupExists(logGroupName, param.logGroupClass))
})
}
}
Expand Down

0 comments on commit be80c4d

Please sign in to comment.