Commit 71d8a60c authored by Nick Craver's avatar Nick Craver

Stop being a jerk, tests.

parent 1c4aaaff
......@@ -21,9 +21,6 @@ public Failover(ITestOutputHelper output) : base(output)
shouldBeMaster.MakeMaster(ReplicationChangeOptions.SetTiebreaker);
}
Output.WriteLine("Flushing all databases...");
shouldBeMaster.FlushAllDatabases(CommandFlags.FireAndForget);
var shouldBeReplica = mutex.GetServer(TestConfig.Current.FailoverSlaveServerAndPort);
if (!shouldBeReplica.IsSlave)
{
......
......@@ -103,7 +103,6 @@ public void CompareScriptToDirect()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
server.ScriptLoad(Script);
......@@ -157,7 +156,6 @@ public void TestCallByHash()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
byte[] hash = server.ScriptLoad(Script);
......@@ -185,7 +183,6 @@ public void SimpleLuaScript()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
var prepared = LuaScript.Prepare(Script);
......@@ -233,7 +230,6 @@ public void LuaScriptWithKeys()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
var script = LuaScript.Prepare(Script);
......@@ -262,7 +258,6 @@ public void NoInlineReplacement()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
var script = LuaScript.Prepare(Script);
......@@ -297,7 +292,6 @@ public void SimpleLoadedLuaScript()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
var prepared = LuaScript.Prepare(Script);
......@@ -346,7 +340,6 @@ public void LoadedLuaScriptWithKeys()
{
Skip.IfMissingFeature(conn, nameof(RedisFeatures.Scripting), f => f.Scripting);
var server = conn.GetServer(TestConfig.Current.MasterServerAndPort);
server.FlushAllDatabases();
server.ScriptFlush();
var script = LuaScript.Prepare(Script);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment