Skip to content

Commit aac6bce

Browse files
committed
test: Make ua_comment test pass on 0.16.0
The specific length of the uacomment is one shorter on `0.16.0` than on `0.15.99` causing the (stupid) test to fail. Just match the latter part of the message only.
1 parent 9cb2309 commit aac6bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_uacomment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def run_test(self):
2323

2424
self.log.info("test -uacomment max length")
2525
self.stop_node(0)
26-
expected = "Total length of network version string (286) exceeds maximum length (256). Reduce the number or size of uacomments."
26+
expected = "exceeds maximum length (256). Reduce the number or size of uacomments."
2727
self.assert_start_raises_init_error(0, ["-uacomment=" + 'a' * 256], expected)
2828

2929
self.log.info("test -uacomment unsafe characters")

0 commit comments

Comments
 (0)