Merge pull request #193 from CosmWasm/stabilize-ci

Give blockchain more time to index transactions
This commit is contained in:
Simon Warta
2020-06-05 10:15:14 +02:00
committed by GitHub
5 changed files with 8 additions and 8 deletions
@@ -59,7 +59,7 @@ describe("CosmWasmClient.searchTx", () => {
amount: "1234567",
};
const result = await client.sendTokens(recipient, [transferAmount]);
await sleep(50); // wait until tx is indexed
await sleep(75); // wait until tx is indexed
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
sendSuccessful = {
sender: alice.address0,
@@ -137,7 +137,7 @@ describe("CosmWasmClient.searchTx", () => {
},
};
const result = await client.execute(hashInstance, msg);
await sleep(50); // wait until tx is indexed
await sleep(75); // wait until tx is indexed
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
postedExecute = {
sender: alice.address0,
+2 -2
View File
@@ -418,7 +418,7 @@ describe("RestClient", () => {
};
}
await sleep(50); // wait until transactions are indexed
await sleep(75); // wait until transactions are indexed
}
});
@@ -499,7 +499,7 @@ describe("RestClient", () => {
];
const result = await client.sendTokens(recipient, transferAmount);
await sleep(50); // wait until tx is indexed
await sleep(75); // wait until tx is indexed
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
posted = {
sender: alice.address0,
+1 -1
View File
@@ -158,7 +158,7 @@ export class Faucet {
for (const job of jobs) {
if (this.logging) logSendJob(job, this.tokenConfig);
await this.send(job);
await sleep(50);
await sleep(75);
}
if (this.logging) {
@@ -51,7 +51,7 @@ describe("CosmosClient.searchTx", () => {
amount: "1234567",
};
const result = await client.sendTokens(recipient, [transferAmount]);
await sleep(50); // wait until tx is indexed
await sleep(75); // wait until tx is indexed
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
sendSuccessful = {
sender: faucet.address,
+2 -2
View File
@@ -290,7 +290,7 @@ describe("RestClient", () => {
};
}
await sleep(50); // wait until transactions are indexed
await sleep(75); // wait until transactions are indexed
}
});
@@ -371,7 +371,7 @@ describe("RestClient", () => {
];
const result = await client.sendTokens(recipient, transferAmount);
await sleep(50); // wait until tx is indexed
await sleep(75); // wait until tx is indexed
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
posted = {
sender: faucet.address,