viant / toolbox

Toolbox - go utility library
Apache License 2.0
197 stars 29 forks source link

TestService_List fails at go test #36

Closed rogers0 closed 4 years ago

rogers0 commented 4 years ago

TestService_List usually passes, but it fails on reproducible builds:

error log for version 0.32.2:

=== RUN   TestService_List
    TestService_List: service_test.go:23: 
            Error Trace:    service_test.go:23
            Error:          Expected nil, but got: &os.PathError{Op:"open", Path:"/nonexistent", Err:0x2}
            Test:           TestService_List
--- FAIL: TestService_List (0.00s)
adranwit commented 4 years ago

updated test

rogers0 commented 4 years ago

Confirmed it's fixed. Thank you!

rogers0 commented 4 years ago

Sorry, this still occurs on latest. I have to reopen this ticket.

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/golang-github-viant-toolbox_0.32.3-1.rbuild.log.gz

log:

=== RUN   TestService_List
    TestService_List: service_test.go:23: 
            Error Trace:    service_test.go:23
            Error:          Expected nil, but got: &os.PathError{Op:"open", Path:"/nonexistent", Err:0x2}
            Test:           TestService_List
--- FAIL: TestService_List (0.00s)
rogers0 commented 4 years ago

For latest 0.33.0, the result seems the same.

adranwit commented 4 years ago

commented test as deprecated

rogers0 commented 4 years ago

thanks for your support! closing this ticket.