good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
Loading
  • Felix Lange's avatar
    all: make unit tests work with Go 1.13 (#20053) · 39b0b1a1
    Felix Lange authored
    Most of these changes are related to the Go 1.13 changes to test binary
    flag handling. 
    
    * cmd/geth: make attach tests more reliable
    
    This makes the test wait for the endpoint to come up by polling
    it instead of waiting for two seconds.
    
    * tests: fix test binary flags for Go 1.13
    
    Calling flag.Parse during package initialization is prohibited
    as of Go 1.13 and causes test failures. Call it in TestMain instead.
    
    * crypto/ecies: remove useless -dump flag in tests
    
    * p2p/simulations: fix test binary flags for Go 1.13
    
    Calling flag.Parse during package initialization is prohibited
    as of Go 1.13 and causes test failures. Call it in TestMain instead.
    
    * build: remove workaround for ./... vendor matching
    
    This workaround was necessary for Go 1.8. The Go 1.9 release changed
    the expansion rules to exclude vendored packages.
    
    * Makefile: use relative path for GOBIN
    
    This makes the "Run ./build/bin/..." line look nicer.
    
    * les: fix test binary flags for Go 1.13
    
    Calling flag.Parse during package initialization is prohibited
    as of Go 1.13 and causes test failures. Call it in TestMain instead.
    39b0b1a1
Code owners
Makefile 5.31 KiB