apollographql / apollo-client

:rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
https://apollographql.com/client
MIT License
19.38k stars 2.66k forks source link

[Tests] Investigate flaky test in `src/link/persisted-queries/__tests__/persisted-queries.test.ts` #11782

Open alessbell opened 7 months ago

alessbell commented 7 months ago

Issue Description

Intermittent test failures of a single test, failure path › clears the cache when receiving NotSupported error (error message) have occurred seemingly randomly on CI (not able to reproduce locally). Example: https://app.circleci.com/pipelines/github/apollographql/apollo-client/23694/workflows/78bbe5b1-ff5f-4488-a5bc-4b0abcd603ff/jobs/147953

This test is disabled in the 3.10 release branch - @phryneas suggested this placeholder issue so we can come back and investigate.

Link to Reproduction

https://app.circleci.com/pipelines/github/apollographql/apollo-client/23694/workflows/78bbe5b1-ff5f-4488-a5bc-4b0abcd603ff/jobs/147953

Reproduction Steps

See description

@apollo/client version

N/A