Skip to content

Commit 1cd7900

Browse files
Anass Al-Wohoushmeta-codesync[bot]
authored andcommitted
[antlir][image_test] Allow selecting run_as_user
Summary: In coverage mode, the user may need to be overridden to `root`. Test Plan: CI Reviewed By: vmagro Differential Revision: D85779601 fbshipit-source-id: 7dc84d48352b2ee3df08e5edb16cb85244651556
1 parent 448aea2 commit 1cd7900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

antlir/antlir2/testing/image_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _implicit_image_test(
228228
test_rule,
229229
name: str,
230230
layer: str | Select,
231-
run_as_user: str | None = None,
231+
run_as_user: str | Select | None = None,
232232
labels: list[str] | Select | None = None,
233233
boot: bool = False,
234234
boot_requires_units: [list[str], None] = None,

0 commit comments

Comments
 (0)