public void TestConfigGet() { OServer server = TestConnection.GetServer(); string value = server.ConfigGet("db.document.serializer"); Assert.AreEqual("ORecordSerializerBinary", value); }
public void TestConfigGet() { var connection = new TestConnection(); OServer server = connection.Server; string value = server.ConfigGet("db.document.serializer"); Assert.AreEqual("ORecordSerializerBinary", value); }
public void TestConfigGet() { OServer server = TestConnection.GetServer(); bool IsCreated = server.ConfigSet("network.retry", "6"); string value = server.ConfigGet("network.retry"); Assert.Equal("6", value); }
public void TestConfigSet() { OServer server = TestConnection.GetServer(); // Only Set existing keys // Don't create new one bool IsCreated = server.ConfigSet("network.retry", "6"); string loadedValue = server.ConfigGet("network.retry"); Assert.IsTrue(IsCreated); Assert.AreEqual("6", loadedValue); }