You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the Karma test using the latest release, version 1.4.0, without making any modifications, the test fails as described above.
The test involves sending a POST request from the httpbin side and verifying the expected response. However, when I sent the same request as the test code to Postman(API Test Client), the response was successful, but it took more than 20 seconds to receive a response. This delay is likely causing the test to fail due to a timeout.
Considering the possibility of poor performance in the httpbin service, it might be beneficial to consider replacing it with an alternative service.
As this issue pertains to the external environment utilized in the test code rather than a problem within the program itself, I won't include a reproduction environment, such as the OS and browser version, in the report.
To Reproduce
You can replicate this issue by pushing the v1.4.0 release commit, which represents the latest revision of the current v1.x branch, to a new branch. Once pushed, the GitHub Actions CI is triggered, and despite there being no code changes in the latest release, the test still fails.
HealGaren
changed the title
CI actions: 'should allow FormData posting' karma test always fails
CI actions: 'should allow FormData posting' karma test intermittently fails
May 19, 2023
Describe the bug
When I execute the Karma test using the latest release, version 1.4.0, without making any modifications, the test fails as described above.
The test involves sending a POST request from the httpbin side and verifying the expected response. However, when I sent the same request as the test code to Postman(API Test Client), the response was successful, but it took more than 20 seconds to receive a response. This delay is likely causing the test to fail due to a timeout.
Considering the possibility of poor performance in the httpbin service, it might be beneficial to consider replacing it with an alternative service.
As this issue pertains to the external environment utilized in the test code rather than a problem within the program itself, I won't include a reproduction environment, such as the OS and browser version, in the report.
To Reproduce
You can replicate this issue by pushing the v1.4.0 release commit, which represents the latest revision of the current v1.x branch, to a new branch. Once pushed, the GitHub Actions CI is triggered, and despite there being no code changes in the latest release, the test still fails.
Below is the result of running the test in the repository I forked, following the same approach as described above.
https://github.com/HealGaren/axios/actions/runs/5023499219/jobs/9008161128
Code snippet
No response
Expected behavior
The karma test succeeds.
Axios Version
1.4.0
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: