Get rid of global state in carbonapi app tests
Opened this issue · 0 comments
grzkv commented
Currently, the key tests in carbonapi
depend on global variables
carbonapi/app/carbonapi/app_test.go
Line 21 in b29e91e
This makes the test results depend on test order and requires implicit operations. The global state needs to be removed and replaced with a local one.