Skip to content

Commit

Permalink
reduce flakiness
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com>
  • Loading branch information
joebowbeer committed Jul 27, 2024
1 parent 569814f commit 289675f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service_invocation/javascript/http/checkout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ async function main() {
};

for(var i = 1; i <= 20; i++) {
await sleep(1000);

const order = {orderId: i};

// Invoking a service
const res = await axios.post(`${DAPR_HOST}:${DAPR_HTTP_PORT}/orders`, order , axiosConfig);
console.log("Order passed: " + res.config.data);

await sleep(1000);
}
}

Expand Down

0 comments on commit 289675f

Please sign in to comment.