Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

TestTimerResets flaps when run with race detector #8

Description

@zwass

Not always, but typically using -count 100 is sufficient to see a few failures:

$ go test -race -run TestTimerResets -count 100
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
--- FAIL: TestTimerResets (0.05s)
	mock_test.go:14: expected timer to get after reset when interval is up after restarted
FAIL
exit status 1
FAIL	github.com/mixer/clock	3.573s

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions