Skip to content

update test

update test #2297

Triggered via push December 12, 2024 21:03
Status Success
Total duration 4m 17s
Artifacts 1

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Failed Test: TestBanditDialer_chooseDialerForDomain/choose_the_non-failing_dialer_if_there_are_multiple_dialers
TestBanditDialer_chooseDialerForDomain/choose_the_non-failing_dialer_if_there_are_multiple_dialers: === RUN TestBanditDialer_chooseDialerForDomain/choose_the_non-failing_dialer_if_there_are_multiple_dialers DEBUG dialer: bandit.go:45 Creating bandit with 7 dialers ERROR dialer: bandit.go:185 bandit directory is not set ERROR dialer: bandit.go:57 unable to load bandit weights: bandit directory is not set [error=unable to load bandit weights: %v error_location=github.com/getlantern/flashlight/v7/dialer.NewBandit (bandit.go:57) error_text=unable to load bandit weights: bandit directory is not set error_type=errors.Error] ERROR dialer: bandit.go:57 at github.com/getlantern/flashlight/v7/dialer.NewBandit (bandit.go:57) ERROR dialer: bandit.go:57 at github.com/getlantern/flashlight/v7/dialer.TestBanditDialer_chooseDialerForDomain.func1 (bandit_test.go:76) ERROR dialer: bandit.go:57 at testing.tRunner (testing.go:1689) ERROR dialer: bandit.go:57 at runtime.goexit (asm_amd64.s:1695) ERROR dialer: bandit.go:57 Caused by: bandit directory is not set bandit_test.go:80: BanditDialer.chooseDialerForDomain() got = &{true <nil> <nil> }, want &{false 0xc000170b00 0xc000170b80 f373a54a-f63d-4c54-8742-8a3e8f2f102e} bandit_test.go:82: Error Trace: /home/runner/work/flashlight/flashlight/dialer/bandit_test.go:82 Error: Not equal: expected: 4 actual : 1 Test: TestBanditDialer_chooseDialerForDomain/choose_the_non-failing_dialer_if_there_are_multiple_dialers Messages: BanditDialer.chooseDialerForDomain() got1 = 1, want 4 --- FAIL: TestBanditDialer_chooseDialerForDomain/choose_the_non-failing_dialer_if_there_are_multiple_dialers (0.00s) - No trace available
Failed Test: TestBanditDialer_chooseDialerForDomain
TestBanditDialer_chooseDialerForDomain: --- FAIL: TestBanditDialer_chooseDialerForDomain (0.00s) - No trace available
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
ctrf-report
4.14 KB