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: Added test for file worflow in archive #289

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

Archana-PandeyM
Copy link
Collaborator

Test to verify that change in data of files in archive updates the host data in inventory when reuploaded. I have modified the test to run from integration test perspective instead of rewriting the existing test in iqe

@Archana-PandeyM Archana-PandeyM force-pushed the arpandey/addTestFileWorkflowInventoryUpdate branch from b7de7a8 to a1124dd Compare September 20, 2024 10:33
Test to verify that change in data of files in archive updates the host data in inventory when reuploaded.
I have modified the test to run from integration test perspective instead of
rewriting the existing test in iqe
@Archana-PandeyM Archana-PandeyM force-pushed the arpandey/addTestFileWorkflowInventoryUpdate branch from a1124dd to 2f72808 Compare September 23, 2024 10:32
@Archana-PandeyM
Copy link
Collaborator Author

/packit test

new_hostname = set_hostname()
# collect data and upload again
insights_client.run()
sleep(30) # small wait for data to get reflected in inventory
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm gonna assume there's no better way to do this.

Copy link
Collaborator Author

@Archana-PandeyM Archana-PandeyM Sep 24, 2024

Choose a reason for hiding this comment

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

unfortunately yes there is no other way at this point than being hopeful(sleep).

Copy link
Contributor

@m-horky m-horky left a comment

Choose a reason for hiding this comment

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

Internal CI failed on unrelated errors. LGTM.

@m-horky m-horky merged commit 125d22c into master Sep 24, 2024
13 of 20 checks passed
@m-horky m-horky deleted the arpandey/addTestFileWorkflowInventoryUpdate branch September 24, 2024 11:58
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.

3 participants