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

Hide AppHost logs in E2E test script #271

Open
wants to merge 2 commits into
base: v0.6
Choose a base branch
from

Conversation

degenone
Copy link
Contributor

Tested running the script locally and it no longer shows AppHost logs in the console.

> .\build-and-test.ps1
Waiting for the website to start...
Website is running!
Restore complete (0,4s)
  SharpSite.E2E succeeded (0,4s) → e2e\SharpSite.E2E\bin\Debug\net9.0\SharpSite.E2E.dll
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.1+f8675c32e5 (64-bit .NET 9.0.1)
[xUnit.net 00:00:00.09]   Discovering: SharpSite.E2E
[xUnit.net 00:00:00.12]   Discovered:  SharpSite.E2E
[xUnit.net 00:00:00.14]   Starting:    SharpSite.E2E
[xUnit.net 00:00:02.31]   Finished:    SharpSite.E2E
Results File: <...>.trx
  SharpSite.E2E test succeeded (3,2s)

Test summary: total: 1; failed: 0; succeeded: 1; skipped: 0; duration: 3,2s
Build succeeded in 4,6s
Build and tests completed successfully!

It will create a output.log file but .log files are already ignored in .gitignore, so I think it shouldn't cause issues.

degenone and others added 2 commits January 28, 2025 14:15
Tripled the number of retries to attempt to access the started web application
@csharpfritz
Copy link
Contributor

This appears to be blocking the script from completing in the GitHub Action runner. We may need to abandon this PR

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