Mark sandbox test as destructive (#10889)

This commit is contained in:
wrexbe
2022-08-27 17:26:07 -07:00
committed by GitHub
parent 32abdf5f00
commit ea2f5e39e3

View File

@@ -8,7 +8,7 @@ public sealed class SandboxTest
[Test] [Test]
public async Task Test() public async Task Test()
{ {
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings{NoServer = true}); await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings{NoServer = true, Destructive = true});
var client = pairTracker.Pair.Client; var client = pairTracker.Pair.Client;
await client.CheckSandboxed(typeof(Client.Entry.EntryPoint).Assembly); await client.CheckSandboxed(typeof(Client.Entry.EntryPoint).Assembly);
await pairTracker.CleanReturnAsync(); await pairTracker.CleanReturnAsync();