feat: complete final jetstream parity transport and runtime baselines
This commit is contained in:
11
tests/NATS.Server.Tests/JetStreamStorageSelectionTests.cs
Normal file
11
tests/NATS.Server.Tests/JetStreamStorageSelectionTests.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace NATS.Server.Tests;
|
||||
|
||||
public class JetStreamStorageSelectionTests
|
||||
{
|
||||
[Fact]
|
||||
public async Task Stream_with_storage_file_uses_filestore_backend()
|
||||
{
|
||||
await using var fx = await JetStreamApiFixture.StartWithStreamJsonAsync("{\"name\":\"S\",\"subjects\":[\"s.*\"],\"storage\":\"file\"}");
|
||||
(await fx.GetStreamBackendTypeAsync("S")).ShouldBe("file");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user