From ace4e334bc5fb299d2890b5e3f35dfd84ea32606 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 30 Nov 2021 16:34:52 -0500 Subject: Use test-server on CI (#2034) * #include an absolute path didn't work - because paths were taken to always be relative. * Vary what SpawnType is used, if one isn't explicitly set. * Terminate on linux if exec fails. * Use a more sophisticated sleeping mechanism. * Attempt to make CI tests to work on aarch64 debug. Small fixes. --- source/compiler-core/slang-json-rpc-connection.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source/compiler-core') diff --git a/source/compiler-core/slang-json-rpc-connection.h b/source/compiler-core/slang-json-rpc-connection.h index b566140ef..263baf799 100644 --- a/source/compiler-core/slang-json-rpc-connection.h +++ b/source/compiler-core/slang-json-rpc-connection.h @@ -130,8 +130,8 @@ public: JSONRPCConnection():m_container(nullptr) {} protected: - RefPtr m_process; ///< Backing process (optional) - RefPtr m_connection; ///< The underlying 'transport' connection, whilst HTTP currently doesn't have to be + RefPtr m_process; ///< Backing process (optional) + RefPtr m_connection; ///< The underlying 'transport' connection, whilst HTTP currently doesn't have to be DiagnosticSink m_diagnosticSink; ///< Holds any diagnostics typically generated by parsing JSON, producing JSON from native types @@ -140,10 +140,7 @@ protected: JSONValue m_jsonRoot; ///< The root JSON value for the currently read message. - /// Default timeout is 10 seconds - Int m_timeOutInMs = 10 * 1000; - /// Termination timeout - Int m_terminationTimeOutInMs = 1 * 1000; + Int m_terminationTimeOutInMs = 1 * 1000; ///< Time to wait for termination response. Default is 1 second }; // --------------------------------------------------------------------------- -- cgit v1.2.3