diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 2d1f8811..aea9f45f 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -13,5 +13,9 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies run: sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev + - name: disable and stop mono-xsp4.service + run: | + sudo systemctl stop mono-xsp4.service + sudo systemctl disable mono-xsp4.service - name: Run test run: make diff --git a/cmd/hidden_lake/service/internal/handler/network_message_test.go b/cmd/hidden_lake/service/internal/handler/network_message_test.go index f4978ae0..7e7281ba 100644 --- a/cmd/hidden_lake/service/internal/handler/network_message_test.go +++ b/cmd/hidden_lake/service/internal/handler/network_message_test.go @@ -16,13 +16,13 @@ import ( ) func TestHandleMessageAPI(t *testing.T) { - _, node, srv := testAllCreate(tcPathConfig, tcPathDB, testutils.TgAddrs[25]) + _, node, srv := testAllCreate(tcPathConfig, tcPathDB, testutils.TgAddrs[24]) defer testAllFree(node, srv) hlsClient := hls_client.NewClient( hls_client.NewBuilder(), hls_client.NewRequester( - fmt.Sprintf("http://%s", testutils.TgAddrs[25]), + fmt.Sprintf("http://%s", testutils.TgAddrs[24]), &http.Client{Timeout: time.Minute}, ), ) diff --git a/test/_data/testutils.go b/test/_data/testutils.go index 77699fc6..e5710f93 100644 --- a/test/_data/testutils.go +++ b/test/_data/testutils.go @@ -40,8 +40,8 @@ var ( "localhost:8067", "localhost:8068", "localhost:8069", - "localhost:8070", + "localhost:8070", "localhost:8071", "localhost:8072", "localhost:8073", @@ -51,12 +51,12 @@ var ( "localhost:8077", "localhost:8078", "localhost:8079", - "localhost:8080", + "localhost:8080", "localhost:8081", "localhost:8082", "localhost:8083", - "localhost:8084", // not used (github) + "localhost:8084", "localhost:8085", "localhost:8086", "localhost:8087",