Skip to content

Await 2.0#10377

Draft
stephanos wants to merge 1 commit into
stephanos/testcontext-extendfrom
stephanos/await-opts
Draft

Await 2.0#10377
stephanos wants to merge 1 commit into
stephanos/testcontext-extendfrom
stephanos/await-opts

Conversation

@stephanos
Copy link
Copy Markdown
Contributor

What changed?

Describe what has changed in this PR.

Why?

Tell your future self why have you made these changes.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

Any change is risky. Identify all risks you are aware of. If none, remove this section.

@stephanos stephanos force-pushed the stephanos/await-opts branch 4 times, most recently from c536781 to 9f2e760 Compare May 28, 2026 21:47
@stephanos stephanos changed the title Await with options Await 2.0 May 28, 2026
deadline, ok := ctx.Deadline()
require.True(t, ok)
require.WithinDuration(t, time.Now().Add(time.Second), deadline, 50*time.Millisecond)
synctest.Test(t, func(t *testing.T) {
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.

drive-by improvement

@stephanos stephanos force-pushed the stephanos/await-opts branch 19 times, most recently from d4e098f to 64b8d40 Compare May 28, 2026 22:24
@stephanos stephanos changed the base branch from main to stephanos/testcontext-extend May 28, 2026 22:25
@stephanos stephanos force-pushed the stephanos/await-opts branch from 64b8d40 to 465a9b6 Compare May 28, 2026 22:31
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 52653b9 to 2cffae6 Compare May 28, 2026 22:31
@stephanos stephanos force-pushed the stephanos/await-opts branch from 465a9b6 to 38afbc7 Compare May 28, 2026 22:41
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 2cffae6 to 5fb966d Compare May 28, 2026 22:41
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 5fb966d to d311c81 Compare May 28, 2026 22:55
@stephanos stephanos force-pushed the stephanos/await-opts branch from 38afbc7 to d18b633 Compare May 28, 2026 22:55
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from d311c81 to e49a9ee Compare May 28, 2026 23:02
@stephanos stephanos force-pushed the stephanos/await-opts branch 2 times, most recently from 4c87750 to c243c77 Compare May 28, 2026 23:06
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from e49a9ee to 66e861b Compare May 28, 2026 23:06
@stephanos stephanos force-pushed the stephanos/await-opts branch from c243c77 to dd79d70 Compare May 28, 2026 23:10
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 66e861b to 58edaea Compare May 28, 2026 23:10
@stephanos stephanos force-pushed the stephanos/await-opts branch from dd79d70 to 56f6c33 Compare May 28, 2026 23:19
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch 2 times, most recently from 0484cd8 to d899349 Compare May 28, 2026 23:35
@stephanos stephanos force-pushed the stephanos/await-opts branch from 56f6c33 to 0a70853 Compare May 28, 2026 23:35
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from d899349 to 5e71cbc Compare May 28, 2026 23:42
@stephanos stephanos force-pushed the stephanos/await-opts branch 2 times, most recently from e30bb25 to afb700a Compare May 28, 2026 23:47
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 5e71cbc to 3639e99 Compare May 28, 2026 23:47
@stephanos stephanos force-pushed the stephanos/await-opts branch from afb700a to 17564db Compare May 29, 2026 00:03
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch 2 times, most recently from 0bfea95 to b44d21a Compare May 29, 2026 00:09
@stephanos stephanos force-pushed the stephanos/await-opts branch 2 times, most recently from 01f6d0f to 3fb9599 Compare May 29, 2026 00:15
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from b44d21a to 0e1279d Compare May 29, 2026 00:15
@stephanos stephanos force-pushed the stephanos/testcontext-extend branch from 0e1279d to f08ca00 Compare May 29, 2026 00:19
@stephanos stephanos force-pushed the stephanos/await-opts branch from 3fb9599 to 7fc3b8c Compare May 29, 2026 00:19
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.

1 participant