12 lines
386 B
C#
12 lines
386 B
C#
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");
|
|
}
|
|
}
|