From 8dcbafd999646f78d2d1bede75343308b1df9f78 Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Fri, 7 Oct 2022 16:12:59 +0200 Subject: [PATCH] fix client version regexp in ExternalMetricNode AT class (#6303) --- .../pegasys/teku/test/acceptance/dsl/ExternalMetricNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/ExternalMetricNode.java b/acceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/ExternalMetricNode.java index f346544e96b..62cd3c1e1da 100644 --- a/acceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/ExternalMetricNode.java +++ b/acceptance-tests/src/testFixtures/java/tech/pegasys/teku/test/acceptance/dsl/ExternalMetricNode.java @@ -190,7 +190,7 @@ private void checkGeneralProcessMetricData(final Map publishedDa assertThat(publishedData.get("client_name")).isEqualTo("teku"); assertThat((String) publishedData.get("client_version")) - .matches(Pattern.compile("^\\d\\d\\.\\d\\.\\d.*")); + .matches(Pattern.compile("^\\d\\d\\.\\d{1,2}\\.\\d.*")); assertThat(publishedData.get("client_build")).isEqualTo(0L); assertThat(publishedData.get("sync_eth2_fallback_configured")).isEqualTo(false); assertThat(publishedData.get("sync_eth2_fallback_connected")).isEqualTo(false);