Skip to content

Commit

Permalink
chore: skip SetSample tests until all cells have the functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice404 committed Feb 7, 2024
1 parent 50d1cff commit 99943f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/Integration/Momento.Sdk.Tests/SetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -589,16 +588,16 @@ 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();
CacheSetSampleResponse response = await client.SetSampleAsync(cacheName, setName, 100);
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();
Expand Down

0 comments on commit 99943f0

Please sign in to comment.