Skip to content

test: add comprehensive linearizability and race condition tests#1741

Open
copyleftdev wants to merge 2 commits intorancher:mainfrom
copyleftdev:feature/e2e-race-tests
Open

test: add comprehensive linearizability and race condition tests#1741
copyleftdev wants to merge 2 commits intorancher:mainfrom
copyleftdev:feature/e2e-race-tests

Conversation

@copyleftdev
Copy link

This PR introduces a comprehensive testing suite for detecting race conditions using Porcupine for linearizability verification and K6 for load testing.

Fixes #774

Changes

  • Added Porcupine dependency.
  • Implemented consistency_test.go for MachineRegistration annotation linearizability.
  • Implemented inventory_race_test.go for concurrent MachineInventory creation verified against a Porcupine model.
  • Added modular K6 scripts in tests/e2e/k6/.
  • Validated against both in-memory simulation and real K8s clusters.

Signed-off-by: L337[df3581ce]SIGMA <don@codetestcode.io>
@copyleftdev copyleftdev requested a review from a team as a code owner December 30, 2025 21:05
Signed-off-by: L337[df3581ce]SIGMA <don@codetestcode.io>
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.

e2e/research: Check if we can use k6 to detect races conditions with elemental-operator API

1 participant