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); }