File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,16 @@ jobs:
46
46
- name : test (offline)
47
47
if : matrix.conf.os == 'ubuntu-latest'
48
48
run : |
49
+ # Look at me. I am the captain now.
50
+ sudo sysctl -w kernel.unprivileged_userns_clone=1
51
+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
52
+
49
53
# We use `unshare` to "un-share" the default networking namespace,
50
54
# in effect running the tests as if the host is offline.
51
55
# This in turn effectively exercises the correctness of our
52
56
# "online-only" test markers, since any test that's online
53
57
# but not marked as such will fail.
54
- # We also explicitly exclude the intergration tests, since these are
58
+ # We also explicitly exclude the integration tests, since these are
55
59
# always online.
56
60
unshare --map-root-user --net make test T="test/unit" TEST_ARGS="--skip-online -vv --showlocals"
57
61
You can’t perform that action at this time.
0 commit comments