Skip to content

test: Wait start task for SuccessfulRequestCausesDataToBeStoredAndDataSourceInitialized. - #200

Merged
kinyoklion merged 1 commit into
mainfrom
rlamb/wait-init-task-polling-test
Dec 15, 2025
Merged

test: Wait start task for SuccessfulRequestCausesDataToBeStoredAndDataSourceInitialized.#200
kinyoklion merged 1 commit into
mainfrom
rlamb/wait-init-task-polling-test

Conversation

@kinyoklion

@kinyoklion kinyoklion commented Dec 13, 2025

Copy link
Copy Markdown
Member

Note

Waits for the Start() task to complete (with timeout) before asserting Initialized in SuccessfulRequestCausesDataToBeStoredAndDataSourceInitialized.

Written by Cursor Bugbot for commit 5cbc0a0. This will update automatically on new commits. Configure here.

AssertHelpers.DataSetsEqual(AllData, receivedData);


initTask.Wait(TimeSpan.FromSeconds(1));

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The updated payload is pushed before the data source is marked as initialized. We need to actually wait for the task before checking initialized.

@kinyoklion
kinyoklion marked this pull request as ready for review December 13, 2025 00:35
@kinyoklion
kinyoklion requested a review from a team as a code owner December 13, 2025 00:35
@kinyoklion kinyoklion changed the title test: Wait start task for SuccessfulRequestCausesDataToBeStoredAndDat… test: Wait start task for SuccessfulRequestCausesDataToBeStoredAndDataSourceInitialized. Dec 13, 2025
@kinyoklion
kinyoklion merged commit 3ccf4f7 into main Dec 15, 2025
17 checks passed
@kinyoklion
kinyoklion deleted the rlamb/wait-init-task-polling-test branch December 15, 2025 16:23
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.

2 participants