Skip to content

added some wait time to pse upgrade test#38

Merged
miladz68 merged 5 commits into
masterfrom
milad/add-wait-pse-upgrade-test
Nov 28, 2025
Merged

added some wait time to pse upgrade test#38
miladz68 merged 5 commits into
masterfrom
milad/add-wait-pse-upgrade-test

Conversation

@miladz68

@miladz68 miladz68 commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

Description

Reviewers checklist:

  • Try to write more meaningful comments with clear actions to be taken.
  • Nit-picking should be unblocking. Focus on core issues.

Authors checklist

  • Provide a concise and meaningful description
  • Review the code yourself first, before making the PR.
  • Annotate your PR in places that require explanation.
  • Think and try to split the PR to smaller PR if it is big.

This change is Reviewable

@miladz68 miladz68 requested a review from a team as a code owner November 26, 2025 12:11
@miladz68 miladz68 requested review from TxCorpi0x, masihyeganeh and ysv and removed request for a team November 26, 2025 12:11

@ysv ysv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ysv reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @masihyeganeh and @TxCorpi0x)


integration-tests/upgrade/pse_staking_snapshot.go line 51 at r1 (raw file):

func (pss *pseStakingSnapshot) After(t *testing.T) {
	// wait for some time for scores to be accumulated
	time.Sleep(2 * time.Second)

slightly better version here would be to wait for a few blocks
I think we have this helper func

@ysv ysv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @masihyeganeh, @miladz68, and @TxCorpi0x)


integration-tests/upgrade/pse_staking_snapshot.go line 51 at r1 (raw file):

Previously, ysv (Yaroslav Savchuk) wrote…

slightly better version here would be to wait for a few blocks
I think we have this helper func

@miladz68 feel free to resolve and merge

@miladz68 miladz68 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @masihyeganeh, @TxCorpi0x, and @ysv)


integration-tests/upgrade/pse_staking_snapshot.go line 51 at r1 (raw file):

Previously, ysv (Yaroslav Savchuk) wrote…

@miladz68 feel free to resolve and merge

Done.

ysv
ysv previously approved these changes Nov 27, 2025

@ysv ysv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ysv reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @masihyeganeh and @TxCorpi0x)

masihyeganeh
masihyeganeh previously approved these changes Nov 28, 2025

@masihyeganeh masihyeganeh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@masihyeganeh reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TxCorpi0x)

@miladz68 miladz68 dismissed stale reviews from masihyeganeh and ysv via 7303c01 November 28, 2025 12:11

@TxCorpi0x TxCorpi0x left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@TxCorpi0x reviewed 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @miladz68)

@masihyeganeh masihyeganeh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@masihyeganeh reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @miladz68)

@miladz68 miladz68 merged commit 577c56e into master Nov 28, 2025
9 checks passed
@miladz68 miladz68 deleted the milad/add-wait-pse-upgrade-test branch November 28, 2025 13:08
TxCorpi0x pushed a commit that referenced this pull request Dec 2, 2025
* added some wait time to pse upgrade test

* fix a comment

* changed the wait logic

* fix linter

* Merge branch 'master' into milad/add-wait-pse-upgrade-test
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.

4 participants