rsconnect-python icon indicating copy to clipboard operation
rsconnect-python copied to clipboard

Integration Flakey Test Fixes

Open kgartland-rstudio opened this issue 1 year ago • 3 comments

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.

kgartland-rstudio avatar Apr 05 '24 16:04 kgartland-rstudio

☂️ 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🐍

github-actions[bot] avatar Apr 05 '24 16:04 github-actions[bot]

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 avatar Apr 05 '24 16:04 kgartland-rstudio

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

kgartland-rstudio avatar Apr 05 '24 16:04 kgartland-rstudio