Skip to content

[3.0] add requst cache to http tests - #9732

Merged
jdarwood007 merged 1 commit into
SimpleMachines:release-3.0from
live627:http-tests
Oct 4, 2026
Merged

jdarwood007 merged 1 commit into
SimpleMachines:release-3.0from
live627:http-tests

Conversation

@live627

@live627 live627 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Add HTTP client and request caching to reduce repeated logins and unnecessary requests across HTTP integration tests.

HTTP integration tests run against a real forum and can trigger flood control when requests are made in rapid succession. Reusing the guest and authenticated clients avoids repeatedly creating sessions, while caching the administrator login avoids repeatedly submitting the login form.

The logout test explicitly bypasses the administrator cache because it needs to exercise a fresh login/session before verifying that signing out ends that session.

@live627

live627 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Oct 4, 2026
@jdarwood007
jdarwood007 merged commit 1e7aa19 into SimpleMachines:release-3.0 Oct 4, 2026
11 checks passed
@jdarwood007 jdarwood007 changed the title add requst cache to http tests [3.0] add requst cache to http tests Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants