@@ -200,7 +200,7 @@ func TestFDV2ShutdownDownIfBothSynchronizersFail(t *testing.T) {
200200 expectedStreamError := "Error in stream connection (giving up permanently): HTTP error 401 (invalid SDK key)"
201201 expectedPollError := "Error on polling request (giving up permanently): HTTP error 401 (invalid SDK key)"
202202 assert .Equal (t , []string {expectedStreamError , expectedPollError }, logCapture .GetOutput (ldlog .Error ))
203- assert .Equal (t , []string {pollingModeWarningMessage , initializationFailedErrorMessage }, logCapture .GetOutput (ldlog .Warn ))
203+ assert .Equal (t , []string {initializationFailedErrorMessage }, logCapture .GetOutput (ldlog .Warn ))
204204 })
205205}
206206
@@ -280,7 +280,7 @@ func TestFDV2PollingSynchronizerFailsToStartWith401Error(t *testing.T) {
280280
281281 expectedError := "Error on polling request (giving up permanently): HTTP error 401 (invalid SDK key)"
282282 assert .Equal (t , []string {expectedError }, logCapture .GetOutput (ldlog .Error ))
283- assert .Equal (t , []string {pollingModeWarningMessage , initializationFailedErrorMessage }, logCapture .GetOutput (ldlog .Warn ))
283+ assert .Equal (t , []string {initializationFailedErrorMessage }, logCapture .GetOutput (ldlog .Warn ))
284284 })
285285}
286286
@@ -372,7 +372,6 @@ func TestFDV2FileInitializerWillDeferToFirstSynchronizer(t *testing.T) {
372372 handler , requestsCh := httphelpers .RecordingHandler (streamHandler )
373373
374374 testHelpers .WithTempFileData ([]byte (`{"flags": {"` + alwaysFalseFlag .Key + `": {"on": false}}, "segments": {}}` ), func (filename string ) {
375-
376375 httphelpers .WithServer (handler , func (server * httptest.Server ) {
377376 logCapture := ldlogtest .NewMockLog ()
378377
0 commit comments