Skip to content

Commit 9da0688

Browse files
committed
fix test with compatible test context
1 parent 2750d33 commit 9da0688

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/NRedisStack.Tests/PipelineTests.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,10 @@ public void TestJsonPipeline()
158158
Assert.Equal("{\"Name\":\"Shachar\",\"Age\":23}", getResponse.Result.ToString());
159159
}
160160

161-
[SkippableTheory]
162-
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
163-
[Obsolete]
164-
public async void Issue401_TestPipelineAsInitialCommand(string endpointId)
161+
[SkipIfRedis(Is.OSSCluster)]
162+
public async void Issue401_TestPipelineAsInitialCommand()
165163
{
166-
IDatabase db = GetCleanDatabase(endpointId);
164+
IDatabase db = redisFixture.Redis.GetDatabase();
167165

168166
Auxiliary.ResetInfoDefaults(); // demonstrate first connection
169167
var pipeline = new Pipeline(db);

0 commit comments

Comments
 (0)