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

test: backport unordered tx systemtest #23711

Conversation

technicallyty
Copy link
Contributor

Description

backports the undordered tx system test


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:
  • confirmed ! in the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • updated the relevant documentation or specification, including comments for documenting Go code
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Comment on lines 109 to 111
for key, value := range headers {
req.Header.Set(key, value)
}

Check warning

Code scanning / CodeQL

Iteration over map Warning

Iteration over map may be a possible source of non-determinism
Comment on lines 426 to 432
go func() {
for start, current := s.currentHeight.Load(), s.currentHeight.Load(); current == start; current = s.currentHeight.Load() {
time.Sleep(s.blockTime)
}
done <- s.currentHeight.Load()
close(done)
}()

Check notice

Code scanning / CodeQL

Spawning a Go routine Note

Spawning a Go routine may be a possible source of non-determinism
Comment on lines 616 to 622
go func() {
_ = cmd.Wait() // blocks until shutdown
s.Logf("Node stopped: %d\n", pid)
s.pidsLock.Lock()
delete(s.pids, pid)
s.pidsLock.Unlock()
}()

Check notice

Code scanning / CodeQL

Spawning a Go routine Note

Spawning a Go routine may be a possible source of non-determinism
…nto technicallyty/STA-102/backport-unordered-tx-systemtest
@technicallyty technicallyty changed the base branch from technicallyty/backport-6ec53aaf54-unorderedtx-part-1 to technicallyty/STA-118/timeout_height_time_based February 24, 2025 20:57
Copy link
Collaborator

@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

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

Approving - we should re-evaluate to see if this test covers everything we care about with unordered tx

@technicallyty technicallyty marked this pull request as ready for review February 24, 2025 23:59
@technicallyty technicallyty requested a review from a team as a code owner February 24, 2025 23:59
@aljo242 aljo242 added this to the SDK v0.53 milestone Feb 25, 2025
@aljo242 aljo242 linked an issue Feb 25, 2025 that may be closed by this pull request
@github-actions github-actions bot removed the Type: CI label Feb 25, 2025
@technicallyty technicallyty merged commit 27f5ace into technicallyty/STA-118/timeout_height_time_based Feb 25, 2025
54 checks passed
@technicallyty technicallyty deleted the technicallyty/STA-102/backport-unordered-tx-systemtest branch February 25, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Epic]: Unordered Tx support in v53
2 participants