diff --git a/test/nodejs/test_rticonnextdds_connector.js b/test/nodejs/test_rticonnextdds_connector.js index 84b7fb01..60d4d989 100644 --- a/test/nodejs/test_rticonnextdds_connector.js +++ b/test/nodejs/test_rticonnextdds_connector.js @@ -138,41 +138,6 @@ describe('Connector Tests', function () { await connector.close() }) - it('is possible to obtain the current version of Connector', function () { - const version = rti.Connector.getVersion() - expect(version).to.be.a.string - - // The returned version string should contain four pieces of information: - // - the API version of Connector - // - the build ID of core.1.0 - // - the build ID of dds_c.1.0 - // - the build ID of lua_binding.1.0 - // Expect "RTI Connector for JavaScript, version X.X.X" - let regex = /RTI Connector for JavaScript, version ([0-9][.]){2}[0-9]/ - expect(regex.test(version)).deep.equals(true) - // Expect "NDDSCORE_BUILD__TZ" - regex = /.*NDDSCORE_BUILD_([0-9][.]){2}[0-9]_[0-9]{8}T[0-9]{6}Z/ - expect(regex.test(version)).deep.equals(true) - // Expect "NDDSC_BUILD__TZ" - regex = /.*NDDSC_BUILD_([0-9][.]){2}[0-9]_[0-9]{8}T[0-9]{6}Z/ - expect(regex.test(version)).deep.equals(true) - // Expect "RTICONNECTOR_BUILD__TZ" - regex = /.*RTICONNECTOR_BUILD_([0-9][.]){2}[0-9]_[0-9]{8}T[0-9]{6}Z/ - expect(regex.test(version)).deep.equals(true) - }) - - // Test for CON-200 - it('Connector should not segfault if deleted twice', async function () { - const xmlProfile1 = path.join(__dirname, '/../xml/TestConnector.xml') - const xmlProfile2 = path.join(__dirname, '/../xml/TestConnector2.xml') - const fullXmlPath = xmlProfile1 + ';' + xmlProfile2 - const connector = new rti.Connector('MyParticipantLibrary2::MyParticipant2', fullXmlPath) - expect(connector).to.exist - expect(connector).to.be.instanceOf(rti.Connector) - await connector.close() - await connector.close() - }) - describe('Connector callback test', function () { let connector