From 99943f0cc1c15f28b5c703727bbd6285deef8d2a Mon Sep 17 00:00:00 2001 From: Chris Price Date: Wed, 7 Feb 2024 14:43:33 -0800 Subject: [PATCH] chore: skip SetSample tests until all cells have the functionality --- tests/Integration/Momento.Sdk.Tests/SetTest.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/Integration/Momento.Sdk.Tests/SetTest.cs b/tests/Integration/Momento.Sdk.Tests/SetTest.cs index c26bb904..18741586 100644 --- a/tests/Integration/Momento.Sdk.Tests/SetTest.cs +++ b/tests/Integration/Momento.Sdk.Tests/SetTest.cs @@ -578,8 +578,7 @@ public async Task SetFetchAsync_UsesCachedStringSet_HappyPath() Assert.Same(set1, set2); } - - [Theory] + [Theory(Skip = "SetSample is a new API, we can't enable these tests until the server changes are deployed")] [InlineData(null, "my-set", 100)] [InlineData("cache", null, 100)] [InlineData("cache", "my-set", -1)] @@ -589,8 +588,8 @@ public async Task SetSampleAsync_NullChecks_IsError(string cacheName, string set Assert.True(response is CacheSetSampleResponse.Error, $"Unexpected response: {response}"); Assert.Equal(MomentoErrorCode.INVALID_ARGUMENT_ERROR, ((CacheSetSampleResponse.Error)response).ErrorCode); } - - [Fact] + + [Fact(Skip = "SetSample is a new API, we can't enable these tests until the server changes are deployed")] public async Task SetSampleAsync_Missing_HappyPath() { var setName = Utils.NewGuidString(); @@ -598,7 +597,7 @@ public async Task SetSampleAsync_Missing_HappyPath() Assert.True(response is CacheSetSampleResponse.Miss, $"Unexpected response: {response}"); } - [Fact] + [Fact(Skip = "SetSample is a new API, we can't enable these tests until the server changes are deployed")] public async Task SetSampleAsync_UsesCachedStringSet_HappyPath() { var setName = Utils.NewGuidString();