Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential watcher panic #1849

Merged
merged 1 commit into from May 5, 2022
Merged

Fix potential watcher panic #1849

merged 1 commit into from May 5, 2022

Conversation

MDrakos
Copy link
Member

@MDrakos MDrakos commented May 5, 2022

BugDX-920 Service panics (rtwatcher) when hosting activation

@MDrakos MDrakos requested a review from Naatan May 5, 2022 21:48
@@ -19,3 +21,24 @@ func TestWatcher_ticker(t *testing.T) {
})
require.Equal(t, 10, calls)
}

func TestWatcher_check(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love to see these types of fixes accompanied by a simple test :)

@MDrakos MDrakos merged commit 586ebd9 into master May 5, 2022
@MDrakos MDrakos deleted the DX-920-service-panic branch May 5, 2022 22:35
Naatan pushed a commit that referenced this pull request May 26, 2022
Fix potential watcher panic
# Conflicts:
#	cmd/state-svc/internal/rtwatcher/watcher.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants