From d1bbff8eef91a0b3d331d37202b8bb649de71aa9 Mon Sep 17 00:00:00 2001 From: Jesse Nelson Date: Wed, 13 Nov 2024 10:56:57 -0600 Subject: [PATCH] add retry to get around stale cache Signed-off-by: Jesse Nelson --- .../hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java b/hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java index 5a6018b4bd..d695912318 100644 --- a/hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java +++ b/hedera-mirror-test/src/test/java/com/hedera/mirror/test/e2e/acceptance/steps/TokenFeature.java @@ -123,6 +123,7 @@ public void createNonFungibleToken(TokenClient.TokenNameEnum tokenName) { tokenNftInfoMap.put(tokenId, new ArrayList<>()); } + @RetryAsserts @Given("I ensure token has the correct properties") public void ensureTokenProperties() { var tokensResponse = mirrorClient.getTokens(tokenId.toString()).getTokens(); @@ -144,6 +145,7 @@ public void ensureTokenProperties() { log.debug("Get token balances for token {}: {}", tokenId, balancesResponse); } + @RetryAsserts @Given("I ensure token has the expected metadata and key") public void ensureTokenInfoProperties() { var tokenInfo = mirrorClient.getTokenInfo(tokenId.toString());