Skip to content

Commit

Permalink
Merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 28, 2024
2 parents 6f355ec + 9086318 commit d2c5b25
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion grogu/signaller/signaller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,14 @@ func (s *SignallerTestSuite) TestGetAllSignalIDs() {
// Update internal variables
s.TestUpdateInternalVariables()

expectedSignalIDs := []string{"signal1", "signal2"}

signalIDs = s.Signaller.getAllSignalIDs()
s.Require().NotEmpty(signalIDs)
s.Require().Equal("signal1", signalIDs[0])

// sort signalIDs to compare
sort.Strings(signalIDs)
s.Require().Equal(expectedSignalIDs, signalIDs)
}

func (s *SignallerTestSuite) TestGetNonPendingSignalIDs() {
Expand Down

0 comments on commit d2c5b25

Please sign in to comment.