Skip to content

Conversation

@AlliBalliBaba
Copy link
Contributor

This PR makes tests fast by removing the 10s sleep added in #1540 😅

"github.com/stretchr/testify/assert"
)

func TestAllCommonHeadersAreCorrect(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I also moved this test to the phpheaders module since it won't break compilation anymore in go 1.25

@AlliBalliBaba AlliBalliBaba changed the title tests: Make caddy_tests faster. tests: make caddy_tests faster. Aug 23, 2025
Copy link
Member

@alexandre-daubois alexandre-daubois left a comment

Choose a reason for hiding this comment

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

Looks good 🙂

@dunglas dunglas merged commit 2b78ffe into main Aug 25, 2025
22 checks passed
@dunglas dunglas deleted the fix/slow-tests branch August 25, 2025 14:16
@dunglas
Copy link
Member

dunglas commented Aug 25, 2025

Thanks!

henderkes pushed a commit to static-php/frankenphp that referenced this pull request Sep 11, 2025
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.

4 participants