Skip to content

Commit

Permalink
Increased sendTransaction timeout to 15 minutes and pull Pocket from …
Browse files Browse the repository at this point in the history
…tx tests.
  • Loading branch information
ricmoo committed Apr 18, 2021
1 parent 1fcf4b6 commit 08adc18
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/tests/src.ts/test-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,8 @@ Object.keys(blockchainData).forEach((network) => {
return tx;
}, test, (provider: string, network: string, test: TestDescription) => {
// Temporary; Pocket is having issues with old transactions on some testnets
if ((network === "ropsten" || network === "goerli") && provider === "PocketProvider") {
//if ((network === "ropsten" || network === "goerli") && provider === "PocketProvider") {
if (provider === "PocketProvider") {
return true;
}

Expand All @@ -718,7 +719,8 @@ Object.keys(blockchainData).forEach((network) => {
return receipt;
}, test, (provider: string, network: string, test: TestDescription) => {
// Temporary; Pocket is having issues with old transactions on some testnets
if ((network === "ropsten" || network === "goerli") && provider === "PocketProvider") {
//if ((network === "ropsten" || network === "goerli") && provider === "PocketProvider") {
if (provider === "PocketProvider") {
return true;
}

Expand Down Expand Up @@ -792,11 +794,12 @@ Object.keys(blockchainData).forEach((network) => {

testFunctions.push({
name: "sends a transaction",
extras: [ "funding" ], // We need funding to the funWallet
timeout: 300, // 5 minutes
extras: [ "funding" ], // We need funding to the fundWallet
timeout: 900, // 15 minutes
networks: [ "ropsten" ], // Only test on Ropsten
checkSkip: (provider: string, network: string, test: TestDescription) => {
return (provider === "PocketProvider");
return false;
//return (provider === "PocketProvider");
},
execute: async (provider: ethers.providers.Provider) => {
const wallet = fundWallet.connect(provider);
Expand All @@ -821,10 +824,9 @@ testFunctions.push({
testFunctions.push({
name: "sends an EIP-2930 transaction",
extras: [ "funding" ], // We need funding to the funWallet
timeout: 300, // 5 minutes
timeout: 900, // 15 minutes
networks: [ "ropsten" ], // Only test on Ropsten
checkSkip: (provider: string, network: string, test: TestDescription) => {
// Temporary
return false;
},
execute: async (provider: ethers.providers.Provider) => {
Expand Down

0 comments on commit 08adc18

Please sign in to comment.