aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-07-15 22:10:45 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-08-02 21:32:40 +0200
commitfa50bdc755489b2e291ea5ba0e39e44a20c6c6de (patch)
tree86a5ca3fc1ca9a7c71c433b723f6c83daf60bcdd /test
parentfa89ca9b5bd334813fd7e7edb202c56b35076e8d (diff)
rpc: Limit echo to 10 args
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/rpc_misc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/rpc_misc.py b/test/functional/rpc_misc.py
index c8517d719e..cc5a264adb 100755
--- a/test/functional/rpc_misc.py
+++ b/test/functional/rpc_misc.py
@@ -27,8 +27,8 @@ class RpcMiscTest(BitcoinTestFramework):
self.log.info("test CHECK_NONFATAL")
assert_raises_rpc_error(
-1,
- "Internal bug detected: 'request.params.size() != 100'",
- lambda: node.echo(*[0] * 100),
+ 'Internal bug detected: \'request.params[9].get_str() != "trigger_internal_bug"\'',
+ lambda: node.echo(arg9='trigger_internal_bug'),
)
self.log.info("test getmemoryinfo")