Skip to content

Commit c9e6533

Browse files
committed
Fix test
1 parent 1241bca commit c9e6533

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

buildspec/linuxUiTests.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,7 @@ phases:
4545
credential_source=EcsContainer"
4646
4747
- chmod +x gradlew
48-
- mkdir -p /etc/apparmor.d
49-
- touch /etc/apparmor.d/jcef
50-
- |
51-
>/etc/apparmor.d/jcef echo "
52-
abi <abi/4.0>,
53-
include <tunables/global>
54-
55-
profile /usr/lib/jvm/java-21-amazon-corretto.x86_64/bin/java flags=(unconfined) {
56-
userns,
57-
58-
include if exists <local/chrome>
59-
}"
60-
- sudo apparmor_parser -r /etc/apparmor.d/jcef
48+
- sysctl -w kernel.unprivileged_userns_clone=1
6149
- ffmpeg -loglevel quiet -nostdin -f x11grab -video_size ${SCREEN_WIDTH}x${SCREEN_HEIGHT} -i ${DISPLAY} -codec:v libx264 -pix_fmt yuv420p -vf drawtext="fontsize=48:box=1:[email protected]:boxborderw=5:fontcolor=white:x=0:y=h-text_h:text='%{gmtime\:%H\\\\\:%M\\\\\:%S}'" -framerate 12 -g 12 /tmp/screen_recording.mp4 &
6250
- ./gradlew -PideProfileName=$ALTERNATIVE_IDE_PROFILE_NAME :ui-tests-starter:uiTest coverageReport --console plain --info
6351

0 commit comments

Comments
 (0)