bookingcom/carbonapi

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

var testApp *App

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.