Skip to content

Commit

Permalink
fix client version regexp in ExternalMetricNode AT class (#6303)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr authored Oct 7, 2022
1 parent ce5d3e7 commit 8dcbafd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void checkGeneralProcessMetricData(final Map<String, Object> 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);
Expand Down

0 comments on commit 8dcbafd

Please sign in to comment.