diff --git a/.changeset/dull-clouds-speak.md b/.changeset/dull-clouds-speak.md new file mode 100644 index 00000000000..51f3d5f6a4a --- /dev/null +++ b/.changeset/dull-clouds-speak.md @@ -0,0 +1,4 @@ +--- +"@fuel-ts/account": patch +--- +ci: revert gas price estimation test flakiness \ No newline at end of file diff --git a/packages/account/src/test-utils/launchNode.ts b/packages/account/src/test-utils/launchNode.ts index 95b9ebb19bf..0a335bf5631 100644 --- a/packages/account/src/test-utils/launchNode.ts +++ b/packages/account/src/test-utils/launchNode.ts @@ -265,21 +265,15 @@ export const launchNode = async ({ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const [realIp, realPort] = rowWithUrl.split(' ').at(-1)!.trim().split(':'); // e.g. "2024-02-13T12:31:44.445844Z INFO new{name=fuel-core}: fuel_core::graphql_api::service: 216: Binding GraphQL provider to 127.0.0.1:35039" - // TODO: Remove delay after fuel-core issue is fixed - // https://github.com/FuelLabs/fuel-core/issues/2107 - setTimeout( - () => - // Resolve with the cleanup method. - resolve({ - cleanup, - ip: realIp, - port: realPort, - url: `http://${realIp}:${realPort}/v1/graphql`, - snapshotDir: snapshotDirToUse as string, - pid: child.pid as number, - }), - 500 - ); + // Resolve with the cleanup method. + resolve({ + cleanup, + ip: realIp, + port: realPort, + url: `http://${realIp}:${realPort}/v1/graphql`, + snapshotDir: snapshotDirToUse as string, + pid: child.pid as number, + }); } if (/error/i.test(text)) { // eslint-disable-next-line no-console