From 772fae1750686873bfba7d3eee30066510d686bb Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 9 Jul 2024 17:32:44 +0300 Subject: [PATCH] Fix flickering "updates cache if initial value is zero" tests (#10402) --- apps/explorer/test/explorer/chain/cache/block_test.exs | 2 +- apps/explorer/test/explorer/chain/cache/transaction_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/explorer/test/explorer/chain/cache/block_test.exs b/apps/explorer/test/explorer/chain/cache/block_test.exs index 39a5da93ee..70b258f3d0 100644 --- a/apps/explorer/test/explorer/chain/cache/block_test.exs +++ b/apps/explorer/test/explorer/chain/cache/block_test.exs @@ -22,7 +22,7 @@ defmodule Explorer.Chain.Cache.BlockTest do _result = Block.get_count() - Process.sleep(1000) + Process.sleep(2000) updated_value = Block.get_count() diff --git a/apps/explorer/test/explorer/chain/cache/transaction_test.exs b/apps/explorer/test/explorer/chain/cache/transaction_test.exs index 0be603a33b..29f484a41a 100644 --- a/apps/explorer/test/explorer/chain/cache/transaction_test.exs +++ b/apps/explorer/test/explorer/chain/cache/transaction_test.exs @@ -22,7 +22,7 @@ defmodule Explorer.Chain.Cache.TransactionTest do _result = Transaction.get_count() - Process.sleep(1000) + Process.sleep(2000) updated_value = Transaction.get_count()