Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
chore: chromium bug fixed (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Aug 5, 2023
1 parent 3dd465a commit 87af2c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ jobs:
run: make vet
- name: API tests
run: make go-tfe-tests
# chromium breaks browser-based tests:
# https://github.com/chromedp/chromedp/issues/1325#issuecomment-1606114185
- name: Remove chromium
run: |
sudo rm /usr/bin/chromium
sudo rm /usr/bin/chromium-browser
- name: Tests
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
Expand Down
7 changes: 0 additions & 7 deletions internal/integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"crypto/rand"
"fmt"
"os"
"os/exec"
"path"
"path/filepath"
"testing"
Expand Down Expand Up @@ -44,12 +43,6 @@ func TestMain(m *testing.M) {
}

func doMain(m *testing.M) (int, error) {
for _, chromium := range []string{"chromium", "chromium-browser"} {
if _, err := exec.LookPath(chromium); err == nil {
return 0, fmt.Errorf("found %s executable in path; chromium has a bug that breaks the browser-based tests; see https://github.com/chromedp/chromedp/issues/1325", chromium)
}
}

// Start external services
if err := testcompose.Up(); err != nil {
return 0, fmt.Errorf("starting external services: %w", err)
Expand Down

0 comments on commit 87af2c7

Please sign in to comment.