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

Integration Flakey Test Fixes #572

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

kgartland-rstudio
Copy link
Contributor

The Intergration Tests have been flakey lately. The first issue was, the docker container wasn't getting the RSC_LICENSE variable for Connect so Connect never started.
Like here:
https://github.com/rstudio/rsconnect-python/actions/runs/8567414234/job/23488396171#step:6:12

I moved the RSC_LICENSE variable up in the Github Actions workflow and that seems to have solved the license issue. However, I still saw some race conditions where the test would start before Connect was ready, so I added a script to wait for Connect to start. There were also some warnings about password security when the users were being created, so I updated those as well.

Copy link

github-actions bot commented Apr 5, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4699 3512 75% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: cacb76e by action🐍

@kgartland-rstudio
Copy link
Contributor Author

I ran it several times and it's still failing occasionally with nothing in the Connect logs:
https://github.com/rstudio/rsconnect-python/actions/runs/8572474436/job/23495692721

@kgartland-rstudio
Copy link
Contributor Author

Github also had several issues today so maybe that's a factor:
https://www.githubstatus.com/history

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