8000 Add chain upgrade system tests by pinosu · Pull Request #501 · confio/tgrade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Add chain upgrade system tests #501

Draft
wants to merge 1 commit into
base: upgrade_wasmd_33
Choose a base branch
from

Conversation

pinosu
Copy link
Contributor
@pinosu pinosu commented Aug 23, 2023

No description provided.

B074
@pinosu pinosu changed the title Start system tests implementation Add chain upgrade system tests Aug 23, 2023
Comment on lines +541 to +555
go func() {
_ = cmd.Wait()
s.pidsLock.Lock()
defer s.pidsLock.Unlock()
if len(s.pids) == 0 {
return
}
newPids := make([]int, 0, len(s.pids)-1)
for _, p := range s.pids {
if p != cmd.Process.Pid {
newPids = append(newPids, p)
}
}
s.pids = newPids
}()

Check notice

Code scanning / CodeQL

Spawning a Go routine

Spawning a Go routine may be a possible source of non-determinism
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0