Skip to content

Commit

Permalink
Fix packets e2e test in CI (#2987)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz authored Jan 23, 2024
1 parent fe026f1 commit c9b29b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/advance-zed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
- run: yarn build
- name: End to end tests
id: playwright
run: /usr/bin/xvfb-run --auto-servernum -s "-screen 0 1280x1024x24" yarn e2e:ci
run: |
# Mock for pcap slice opening to avoid hanging Actions Runner.
# See https://github.com/brimdata/zui/pull/2987
echo "application/vnd.tcpdump.pcap; /usr/bin/true" >> /home/runner/.mailcap
/usr/bin/xvfb-run --auto-servernum -s "-screen 0 1280x1024x24" yarn e2e:ci
- run: git -c user.name='Brim Automation' -c [email protected] commit -a -m 'upgrade Zed to ${{ env.zed_ref }}'

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
id: playwright
run: |
if [ "$RUNNER_OS" = "Linux" ]; then
# Mock for pcap slice opening to avoid hanging Actions Runner.
# See https://github.com/brimdata/zui/pull/2987
echo "application/vnd.tcpdump.pcap; /usr/bin/true" >> /home/runner/.mailcap
/usr/bin/xvfb-run --auto-servernum -s "-screen 0 1280x1024x24" ${{ inputs.run-target }}
else
${{ inputs.run-target }}
Expand Down
2 changes: 1 addition & 1 deletion packages/zui-player/ci.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const baseConfig = require('./playwright.config');
module.exports = {
...baseConfig,
/* This is the list of flaky tests to ignore when running on CI */
testIgnore: /(pool-loads|pool-groups|title-bar-buttons|packets).spec/,
testIgnore: /(pool-loads|pool-groups).spec/,
};

0 comments on commit c9b29b0

Please sign in to comment.