Skip to content

Commit

Permalink
fmf: Use node.js 16 for RHEL 8 tests
Browse files Browse the repository at this point in the history
The import syntax introduced in commit 54f2fd5 does not work with
the old node.js 10 which is still the default in RHEL 10. Install the
newer version 16 instead.

I did that on all other projects (like [1]), but forgot it here.

[1] cockpit-project/starter-kit#625
  • Loading branch information
martinpitt committed Feb 21, 2023
1 parent 4bdbbbe commit 9004942
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ rpm -q cockpit-system
# we don't need the H.264 codec, and it is sometimes not available (rhbz#2005760)
dnf install --disablerepo=fedora-cisco-openh264 -y --setopt=install_weak_deps=False firefox

# nodejs 10 is too old for current Cockpit test API
if grep -q platform:el8 /etc/os-release; then
dnf module switch-to -y nodejs:16
fi

# HACK: setroubleshoot-server crashes/times out randomly (breaking TestServices),
# and is hard to disable as it does not use systemd
if rpm -q setroubleshoot-server; then
Expand Down

0 comments on commit 9004942

Please sign in to comment.