File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2537,9 +2537,7 @@ def test_plugin_shutdown(node_factory):
25372537
25382538 # Now, should also shutdown or timeout on finish, RPC calls then fail with error code -5
25392539 l1 .rpc .plugin_start (p , dont_shutdown = True )
2540- needle = l1 .daemon .logsearch_start
25412540 l1 .rpc .stop ()
2542- l1 .daemon .wait_for_log (r"test_libplugin: shutdown called" )
2543- l1 .daemon .logsearch_start = needle # we don't know what comes first
2544- l1 .daemon .is_in_log (r'misc_notifications.py: via lightningd shutdown, datastore failed' )
2545- l1 .daemon .is_in_log (r'test_libplugin: failed to self-terminate in time, killing.' )
2541+ l1 .daemon .wait_for_logs (['test_libplugin: shutdown called' ,
2542+ 'misc_notifications.py: via lightningd shutdown, datastore failed' ,
2543+ 'test_libplugin: failed to self-terminate in time, killing.' ])
You can’t perform that action at this time.
0 commit comments