Add root-aware privileged CI test lane
All checks were successful
smoke / smoke (push) Successful in 29s
All checks were successful
smoke / smoke (push) Successful in 29s
This commit is contained in:
@@ -53,6 +53,7 @@ public sealed class NftContextTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[Trait("Category", "Privileged")]
|
||||
public void ValidDryRunCommand_CanExecuteAndBufferOutput()
|
||||
{
|
||||
if (!NativeTestSupport.TryCreateContext(out var ctx))
|
||||
@@ -60,7 +61,7 @@ public sealed class NftContextTests
|
||||
return;
|
||||
}
|
||||
|
||||
if (!NativeTestSupport.HasCapNetAdmin())
|
||||
if (!NativeTestSupport.ShouldRunPrivilegedTests())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user