This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Description Ⅰ. Issue Description
unit tests failed
Ⅱ. Describe what happened
I tried to run unit tests but the tests failed:
----------------------------------------------------------------------
FAIL: resource_test.go:37: HTTPSuite.SetUpTest
resource_test.go:43:
c.Assert(err, check.IsNil)
... value *net.OpError = &net.OpError{Op:"listen", Net:"tcp", Source:net.Addr(nil), Addr:(*net.TCPAddr)(0xc000580030), Err:(*os.SyscallError)(0xc000314040)} ("listen tcp :64000: bind: address already in use")
----------------------------------------------------------------------
PANIC: resource_test.go:85: HTTPSuite.TestResource
... Panic: Fixture has panicked (see related PANIC)
OOPS: 1 passed, 1 FAILED, 1 MISSED
--- FAIL: Test (0.00s)
FAIL
coverage: 9.6% of statements
Ⅲ. Describe what you expected to happen
The tests should pass
Ⅳ. How to reproduce it (as minimally and precisely as possible)
checkout the master branch
make unit-test
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
dragonfly version: the master branch (d2a749a )
OS (e.g. from /etc/os-release): ubuntu 20.04
Kernel (e.g. uname -a):
$ uname -a
Linux vultr.guest 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Reactions are currently unavailable