hashicorp / hashicorp/consul

TestTxn_Apply_LockDelay

Open
#7,057 0 comments 0 reactions 0 assignees View on GitHub
theme/testing
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.

#### Overview of the Issue

`TestTxn_Apply_LockDelay` can fail in CI. Ran this on my local machine 2000 times without much else running and observed 0 failures. Will likely only occur under high resource contention. Have not triaged the exact cause, but I expect it's timing based.

https://github.com/hashicorp/consul/blob/5934f803bfb54c1ceeeb6518398f1b82a726459f/agent/consul/txn_endpoint_test.go#L616

#### Reproduction Steps

Run this test in a resource constrained env such as CI or `make test-flake`

### Operating system and Environment details

CircleCI

### Log Fragments

CI Logs: https://circleci.com/gh/hashicorp/consul/57870#tests/containers/1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.