File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
lib/services/testing/test_suites Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,23 @@ class LitecoinMwebIntegrationTestSuite implements TestSuiteInterface {
101101
102102 // Test server creation - this exercises the FFI bindings.
103103 await server.createServer ();
104+
105+ // Wait for server to start.
106+ await server.startServer ();
107+
108+ // Verify server is running.
109+ if (! server.isRunning) {
110+ throw Exception ("MWEB server did not start successfully" );
111+ }
112+
113+ Logging .instance.log (Level .info,
114+ "MWEB server created and running on port $port "
115+ );
104116 await server.stopServer ();
105117
106118 Logging .instance.log (Level .info,
107119 "👍 MWEB server creation test passed"
108120 );
109-
110121 } catch (e) {
111122 throw Exception ("MWEB server creation test failed: $e " );
112123 } finally {
You can’t perform that action at this time.
0 commit comments