mirror of
https://github.com/number571/go-peer.git
synced 2026-09-12 19:50:00 +05:00
update
This commit is contained in:
parent
9cda5d33b2
commit
ea6543ee28
4
.github/workflows/makefile.yml
vendored
4
.github/workflows/makefile.yml
vendored
@ -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
|
||||
|
||||
@ -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},
|
||||
),
|
||||
)
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user