influxdata / influxdata/kapacitor

Add tests for Deadman's switch

Open
#754 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Adding tests is not feasible until the deadman's switch has its own clock. See #691

While the intent of the deadman's switch it to be independent of the normal task clock, that doesn't mean it can't have its own clock. In the context of both replays and tests it makes sense.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #691 and the deadman's switch implementation to understand the proposed independent clock. Determine the clock's required behavior in replays and tests, then add coverage once that prerequisite exists. Done means the deadman's switch has an isolated clock and tests exercise its timing independently of the normal task clock.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.