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

CI actions: 'should allow FormData posting' karma test intermittently fails #5714

Open
HealGaren opened this issue May 19, 2023 · 0 comments

Comments

@HealGaren
Copy link

HealGaren commented May 19, 2023

Describe the bug

image

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.
image

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

@HealGaren 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
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

No branches or pull requests

3 participants