Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: Enable paralleltest, fix issues (#1367)
Enable the paralleltest linter. This linter checks that all tests and subtests call t.Parallel. Fix all fixable issues reported by the linter. For cases where a test cannot be run in parallel, add a `//nolint:paralleltest` comment with an appropriate explanation. For example: //nolint:paralleltest // modifies global state Best reviewed by ignoring all whitespace changes. <details> <summary>Full list fixed issues</summary> ``` array_test.go:55:1: Function TestArrayWrappers missing the call to method parallel (paralleltest) buffer/buffer_test.go:32:1: Function TestBufferWrites missing the call to method parallel (paralleltest) buffer/buffer_test.go:55:2: Range statement for test TestBufferWrites missing the call to method parallel in test Run (paralleltest) buffer/pool_test.go:30:1: Function TestBuffers missing the call to method parallel (paralleltest) clock_test.go:39:1: Function TestWithClock missing the call to method parallel (paralleltest) config_test.go:34:1: Function TestConfig missing the call to method parallel (paralleltest) config_test.go:59:2: Range statement for test TestConfig missing the call to method parallel in test Run (paralleltest) config_test.go:88:1: Function TestConfigWithInvalidPaths missing the call to method parallel (paralleltest) config_test.go:99:2: Range statement for test TestConfigWithInvalidPaths missing the call to method parallel in test Run (paralleltest) config_test.go:110:1: Function TestConfigWithMissingAttributes missing the call to method parallel (paralleltest) config_test.go:137:2: Range statement for test TestConfigWithMissingAttributes missing the call to method parallel in test Run (paralleltest) config_test.go:161:1: Function TestConfigWithSamplingHook missing the call to method parallel (paralleltest) encoder_test.go:31:1: Function TestRegisterDefaultEncoders missing the call to method parallel (paralleltest) encoder_test.go:35:1: Function TestRegisterEncoder missing the call to method parallel (paralleltest) encoder_test.go:42:1: Function TestDuplicateRegisterEncoder missing the call to method parallel (paralleltest) encoder_test.go:49:1: Function TestRegisterEncoderNoName missing the call to method parallel (paralleltest) encoder_test.go:53:1: Function TestNewEncoder missing the call to method parallel (paralleltest) encoder_test.go:62:1: Function TestNewEncoderNotRegistered missing the call to method parallel (paralleltest) encoder_test.go:67:1: Function TestNewEncoderNoName missing the call to method parallel (paralleltest) error_test.go:34:1: Function TestErrorConstructors missing the call to method parallel (paralleltest) error_test.go:58:1: Function TestErrorArrayConstructor missing the call to method parallel (paralleltest) error_test.go:81:1: Function TestErrorsArraysHandleRichErrors missing the call to method parallel (paralleltest) field_test.go:63:1: Function TestFieldConstructors missing the call to method parallel (paralleltest) field_test.go:258:2: Range statement for test TestFieldConstructors missing the call to method parallel in test Run (paralleltest) field_test.go:268:1: Function TestStackField missing the call to method parallel (paralleltest) field_test.go:277:1: Function TestStackSkipField missing the call to method parallel (paralleltest) field_test.go:286:1: Function TestStackSkipFieldWithSkip missing the call to method parallel (paralleltest) field_test.go:294:1: Function TestDict missing the call to method parallel (paralleltest) field_test.go:305:2: Range statement for test TestDict missing the call to method parallel in test Run (paralleltest) flag_test.go:68:1: Function TestLevelFlag missing the call to method parallel (paralleltest) flag_test.go:90:1: Function TestLevelFlagsAreIndependent missing the call to method parallel (paralleltest) global_test.go:40:1: Function TestReplaceGlobals missing the call to method parallel (paralleltest) global_test.go:69:1: Function TestGlobalsConcurrentUse missing the call to method parallel (paralleltest) global_test.go:100:1: Function TestNewStdLog missing the call to method parallel (paralleltest) global_test.go:108:1: Function TestNewStdLogAt missing the call to method parallel (paralleltest) global_test.go:121:1: Function TestNewStdLogAtPanics missing the call to method parallel (paralleltest) global_test.go:134:1: Function TestNewStdLogAtFatal missing the call to method parallel (paralleltest) global_test.go:147:1: Function TestNewStdLogAtInvalid missing the call to method parallel (paralleltest) global_test.go:152:1: Function TestRedirectStdLog missing the call to method parallel (paralleltest) global_test.go:170:1: Function TestRedirectStdLogCaller missing the call to method parallel (paralleltest) global_test.go:180:1: Function TestRedirectStdLogAt missing the call to method parallel (paralleltest) global_test.go:204:1: Function TestRedirectStdLogAtCaller missing the call to method parallel (paralleltest) global_test.go:220:1: Function TestRedirectStdLogAtPanics missing the call to method parallel (paralleltest) global_test.go:240:1: Function TestRedirectStdLogAtFatal missing the call to method parallel (paralleltest) global_test.go:260:1: Function TestRedirectStdLogAtInvalid missing the call to method parallel (paralleltest) http_handler_test.go:38:1: Function TestAtomicLevelServeHTTP missing the call to method parallel (paralleltest) http_handler_test.go:155:2: Range statement for test TestAtomicLevelServeHTTP missing the call to method parallel in test Run (paralleltest) increase_level_test.go:42:1: Function TestIncreaseLevelTryDecrease missing the call to method parallel (paralleltest) increase_level_test.go:68:1: Function TestIncreaseLevel missing the call to method parallel (paralleltest) internal/color/color_test.go:29:1: Function TestColorFormatting missing the call to method parallel (paralleltest) internal/exit/exit_test.go:30:1: Function TestStub missing the call to method parallel (paralleltest) internal/pool/pool_test.go:36:1: Function TestNew missing the call to method parallel (paralleltest) internal/pool/pool_test.go:78:1: Function TestNew_Race missing the call to method parallel (paralleltest) internal/stacktrace/stack_test.go:32:1: Function TestTake missing the call to method parallel (paralleltest) internal/stacktrace/stack_test.go:44:1: Function TestTakeWithSkip missing the call to method parallel (paralleltest) internal/stacktrace/stack_test.go:56:1: Function TestTakeWithSkipInnerFunc missing the call to method parallel (paralleltest) internal/stacktrace/stack_test.go:71:1: Function TestTakeDeepStack missing the call to method parallel (paralleltest) internal/ztest/clock_test.go:31:1: Function TestMockClock_NewTicker missing the call to method parallel (paralleltest) internal/ztest/clock_test.go:59:1: Function TestMockClock_NewTicker_slowConsumer missing the call to method parallel (paralleltest) internal/ztest/clock_test.go:77:1: Function TestMockClock_Add_negative missing the call to method parallel (paralleltest) level_test.go:33:1: Function TestLevelEnablerFunc missing the call to method parallel (paralleltest) level_test.go:52:1: Function TestNewAtomicLevel missing the call to method parallel (paralleltest) level_test.go:61:1: Function TestParseAtomicLevel missing the call to method parallel (paralleltest) level_test.go:83:1: Function TestAtomicLevelMutation missing the call to method parallel (paralleltest) level_test.go:101:1: Function TestAtomicLevelText missing the call to method parallel (paralleltest) logger_test.go:49:1: Function TestLoggerAtomicLevel missing the call to method parallel (paralleltest) logger_test.go:88:1: Function TestLoggerLevel missing the call to method parallel (paralleltest) logger_test.go:115:1: Function TestLoggerInitialFields missing the call to method parallel (paralleltest) logger_test.go:128:1: Function TestLoggerWith missing the call to method parallel (paralleltest) logger_test.go:155:2: Range statement for test TestLoggerWith missing the call to method parallel in test Run (paralleltest) logger_test.go:178:1: Function TestLoggerWithCaptures missing the call to method parallel (paralleltest) logger_test.go:339:2: Range statement for test TestLoggerWithCaptures missing the call to method parallel in test Run (paralleltest) logger_test.go:375:1: Function TestLoggerLogPanic missing the call to method parallel (paralleltest) logger_test.go:405:1: Function TestLoggerLogFatal missing the call to method parallel (paralleltest) logger_test.go:432:1: Function TestLoggerLeveledMethods missing the call to method parallel (paralleltest) logger_test.go:458:1: Function TestLoggerLogLevels missing the call to method parallel (paralleltest) logger_test.go:481:1: Function TestLoggerAlwaysPanics missing the call to method parallel (paralleltest) logger_test.go:497:1: Function TestLoggerAlwaysFatals missing the call to method parallel (paralleltest) logger_test.go:518:1: Function TestLoggerDPanic missing the call to method parallel (paralleltest) logger_test.go:539:1: Function TestLoggerNoOpsDisabledLevels missing the call to method parallel (paralleltest) logger_test.go:551:1: Function TestLoggerNames missing the call to method parallel (paralleltest) logger_test.go:590:1: Function TestLoggerWriteFailure missing the call to method parallel (paralleltest) logger_test.go:607:1: Function TestLoggerSync missing the call to method parallel (paralleltest) logger_test.go:614:1: Function TestLoggerSyncFail missing the call to method parallel (paralleltest) logger_test.go:627:1: Function TestLoggerAddCaller missing the call to method parallel (paralleltest) logger_test.go:659:1: Function TestLoggerAddCallerFunction missing the call to method parallel (paralleltest) logger_test.go:739:1: Function TestLoggerAddCallerFail missing the call to method parallel (paralleltest) logger_test.go:762:1: Function TestLoggerReplaceCore missing the call to method parallel (paralleltest) logger_test.go:774:1: Function TestLoggerIncreaseLevel missing the call to method parallel (paralleltest) logger_test.go:789:1: Function TestLoggerHooks missing the call to method parallel (paralleltest) logger_test.go:798:1: Function TestLoggerConcurrent missing the call to method parallel (paralleltest) logger_test.go:828:1: Function TestLoggerFatalOnNoop missing the call to method parallel (paralleltest) logger_test.go:839:1: Function TestLoggerCustomOnFatal missing the call to method parallel (paralleltest) logger_test.go:857:2: Range statement for test TestLoggerCustomOnFatal missing the call to method parallel in test Run (paralleltest) logger_test.go:891:1: Function TestLoggerWithFatalHook missing the call to method parallel (paralleltest) logger_test.go:900:1: Function TestNopLogger missing the call to method parallel (paralleltest) logger_test.go:903:2: Function TestNopLogger missing the call to method parallel in the test run (paralleltest) logger_test.go:910:2: Function TestNopLogger missing the call to method parallel in the test run (paralleltest) logger_test.go:914:2: Function TestNopLogger missing the call to method parallel in the test run (paralleltest) logger_test.go:921:1: Function TestMust missing the call to method parallel (paralleltest) logger_test.go:922:2: Function TestMust missing the call to method parallel in the test run (paralleltest) logger_test.go:926:2: Function TestMust missing the call to method parallel in the test run (paralleltest) sink_test.go:47:1: Function TestRegisterSink missing the call to method parallel (paralleltest) sink_test.go:86:1: Function TestRegisterSinkErrors missing the call to method parallel (paralleltest) sink_test.go:100:2: Range statement for test TestRegisterSinkErrors missing the call to method parallel in test Run (paralleltest) stacktrace_ext_test.go:49:1: Function TestStacktraceFiltersZapLog missing the call to method parallel (paralleltest) stacktrace_ext_test.go:59:1: Function TestStacktraceFiltersZapMarshal missing the call to method parallel (paralleltest) stacktrace_ext_test.go:86:1: Function TestStacktraceFiltersVendorZap missing the call to method parallel (paralleltest) stacktrace_ext_test.go:122:1: Function TestStacktraceWithoutCallerSkip missing the call to method parallel (paralleltest) stacktrace_ext_test.go:133:1: Function TestStacktraceWithCallerSkip missing the call to method parallel (paralleltest) sugar_test.go:36:1: Function TestSugarWith missing the call to method parallel (paralleltest) sugar_test.go:187:1: Function TestSugarFieldsInvalidPairs missing the call to method parallel (paralleltest) sugar_test.go:207:1: Function TestSugarStructuredLogging missing the call to method parallel (paralleltest) sugar_test.go:244:1: Function TestSugarConcatenatingLogging missing the call to method parallel (paralleltest) sugar_test.go:276:1: Function TestSugarTemplatedLogging missing the call to method parallel (paralleltest) sugar_test.go:312:1: Function TestSugarLnLogging missing the call to method parallel (paralleltest) sugar_test.go:348:1: Function TestSugarLnLoggingIgnored missing the call to method parallel (paralleltest) sugar_test.go:355:1: Function TestSugarPanicLogging missing the call to method parallel (paralleltest) sugar_test.go:390:1: Function TestSugarFatalLogging missing the call to method parallel (paralleltest) sugar_test.go:426:1: Function TestSugarAddCaller missing the call to method parallel (paralleltest) sugar_test.go:451:1: Function TestSugarAddCallerFail missing the call to method parallel (paralleltest) sugar_test.go:469:1: Function TestSugarWithOptionsIncreaseLevel missing the call to method parallel (paralleltest) sugar_test.go:485:1: Function TestSugarLnWithOptionsIncreaseLevel missing the call to method parallel (paralleltest) time_test.go:30:1: Function TestTimeToMillis missing the call to method parallel (paralleltest) writer_test.go:38:1: Function TestOpenNoPaths missing the call to method parallel (paralleltest) writer_test.go:51:1: Function TestOpen missing the call to method parallel (paralleltest) writer_test.go:82:2: Range statement for test TestOpen missing the call to method parallel in test Run (paralleltest) writer_test.go:96:1: Function TestOpenPathsNotFound missing the call to method parallel (paralleltest) writer_test.go:124:2: Range statement for test TestOpenPathsNotFound missing the call to method parallel in test Run (paralleltest) writer_test.go:142:1: Function TestOpenRelativePath missing the call to method parallel (paralleltest) writer_test.go:162:1: Function TestOpenFails missing the call to method parallel (paralleltest) writer_test.go:179:1: Function TestOpenOtherErrors missing the call to method parallel (paralleltest) writer_test.go:214:2: Range statement for test TestOpenOtherErrors missing the call to method parallel in test Run (paralleltest) writer_test.go:241:1: Function TestOpenWithErroringSinkFactory missing the call to method parallel (paralleltest) writer_test.go:254:1: Function TestCombineWriteSyncers missing the call to method parallel (paralleltest) zapcore/buffered_write_syncer_test.go:33:1: Function TestBufferWriter missing the call to method parallel (paralleltest) zapcore/buffered_write_syncer_test.go:36:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:47:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:56:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:64:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:77:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:88:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:99:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:109:2: Function TestBufferWriter missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:130:1: Function TestBufferWriterWithoutStart missing the call to method parallel (paralleltest) zapcore/buffered_write_syncer_test.go:131:2: Function TestBufferWriterWithoutStart missing the call to method parallel in the test run (paralleltest) zapcore/buffered_write_syncer_test.go:136:2: Function TestBufferWriterWithoutStart missing the call to method parallel in the test run (paralleltest) zapcore/clock_test.go:33:1: Function TestSystemClock_NewTicker missing the call to method parallel (paralleltest) zapcore/console_encoder_test.go:38:1: Function TestConsoleSeparator missing the call to method parallel (paralleltest) zapcore/console_encoder_test.go:66:2: Range statement for test TestConsoleSeparator missing the call to method parallel in test Run (paralleltest) zapcore/core_test.go:40:1: Function TestNopCore missing the call to method parallel (paralleltest) zapcore/core_test.go:69:1: Function TestIOCore missing the call to method parallel (paralleltest) zapcore/core_test.go:110:1: Function TestIOCoreSyncFail missing the call to method parallel (paralleltest) zapcore/core_test.go:129:1: Function TestIOCoreSyncsOutput missing the call to method parallel (paralleltest) zapcore/core_test.go:156:1: Function TestIOCoreWriteFailure missing the call to method parallel (paralleltest) zapcore/encoder_test.go:77:1: Function TestEncoderConfiguration missing the call to method parallel (paralleltest) zapcore/encoder_test.go:563:1: Function TestLevelEncoders missing the call to method parallel (paralleltest) zapcore/encoder_test.go:586:1: Function TestTimeEncoders missing the call to method parallel (paralleltest) zapcore/encoder_test.go:618:1: Function TestTimeEncodersWrongYAML missing the call to method parallel (paralleltest) zapcore/encoder_test.go:629:1: Function TestTimeEncodersParseFromJSON missing the call to method parallel (paralleltest) zapcore/encoder_test.go:652:1: Function TestDurationEncoders missing the call to method parallel (paralleltest) zapcore/encoder_test.go:677:1: Function TestCallerEncoders missing the call to method parallel (paralleltest) zapcore/encoder_test.go:701:1: Function TestNameEncoders missing the call to method parallel (paralleltest) zapcore/entry_test.go:48:1: Function TestPutNilEntry missing the call to method parallel (paralleltest) zapcore/entry_test.go:76:1: Function TestEntryCaller missing the call to method parallel (paralleltest) zapcore/entry_test.go:106:1: Function TestCheckedEntryWrite missing the call to method parallel (paralleltest) zapcore/entry_test.go:107:2: Function TestCheckedEntryWrite missing the call to method parallel in the test run (paralleltest) zapcore/entry_test.go:112:2: Function TestCheckedEntryWrite missing the call to method parallel in the test run (paralleltest) zapcore/entry_test.go:118:2: Function TestCheckedEntryWrite missing the call to method parallel in the test run (paralleltest) zapcore/entry_test.go:124:2: Function TestCheckedEntryWrite missing the call to method parallel in the test run (paralleltest) zapcore/entry_test.go:134:2: Function TestCheckedEntryWrite missing the call to method parallel in the test run (paralleltest) zapcore/error_test.go:67:1: Function TestErrorEncoding missing the call to method parallel (paralleltest) zapcore/error_test.go:155:1: Function TestRichErrorSupport missing the call to method parallel (paralleltest) zapcore/field_test.go:96:1: Function TestUnknownFieldType missing the call to method parallel (paralleltest) zapcore/field_test.go:104:1: Function TestFieldAddingError missing the call to method parallel (paralleltest) zapcore/field_test.go:130:1: Function TestFields missing the call to method parallel (paralleltest) zapcore/field_test.go:183:1: Function TestInlineMarshaler missing the call to method parallel (paralleltest) zapcore/field_test.go:204:1: Function TestEquals missing the call to method parallel (paralleltest) zapcore/hook_test.go:33:1: Function TestHooks missing the call to method parallel (paralleltest) zapcore/hook_test.go:44:2: Range statement for test TestHooks missing the call to method parallel in test Run (paralleltest) zapcore/increase_level_test.go:34:1: Function TestIncreaseLevel missing the call to method parallel (paralleltest) zapcore/increase_level_test.go:80:2: Range statement for test TestIncreaseLevel missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_impl_test.go:47:1: Function TestJSONClone missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:60:1: Function TestJSONEscaping missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:95:2: Function TestJSONEscaping missing the call to method parallel in the test run (paralleltest) zapcore/json_encoder_impl_test.go:103:2: Function TestJSONEscaping missing the call to method parallel in the test run (paralleltest) zapcore/json_encoder_impl_test.go:112:1: Function TestJSONEncoderObjectFields missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:284:2: Range statement for test TestJSONEncoderObjectFields missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_impl_test.go:291:1: Function TestJSONEncoderTimeFormats missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:333:2: Range statement for test TestJSONEncoderTimeFormats missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_impl_test.go:340:1: Function TestJSONEncoderArrays missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:442:2: Range statement for test TestJSONEncoderArrays missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_impl_test.go:459:1: Function TestJSONEncoderTimeArrays missing the call to method parallel (paralleltest) zapcore/json_encoder_impl_test.go:493:2: Range statement for test TestJSONEncoderTimeArrays missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_impl_test.go:655:1: Function TestJSONQuick missing the call to method parallel (paralleltest) zapcore/json_encoder_test.go:39:1: Function TestJSONEncodeEntry missing the call to method parallel (paralleltest) zapcore/json_encoder_test.go:128:2: Range statement for test TestJSONEncodeEntry missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_test.go:139:1: Function TestNoEncodeLevelSupplied missing the call to method parallel (paralleltest) zapcore/json_encoder_test.go:168:1: Function TestJSONEmptyConfig missing the call to method parallel (paralleltest) zapcore/json_encoder_test.go:186:2: Range statement for test TestJSONEmptyConfig missing the call to method parallel in test Run (paralleltest) zapcore/json_encoder_test.go:215:1: Function TestJSONCustomReflectedEncoder missing the call to method parallel (paralleltest) zapcore/lazy_with_test.go:60:1: Function TestLazyCore missing the call to method parallel (paralleltest) zapcore/lazy_with_test.go:122:2: Range statement for test TestLazyCore missing the call to method parallel in test Run (paralleltest) zapcore/level_strings_test.go:29:1: Function TestAllLevelsCoveredByLevelString missing the call to method parallel (paralleltest) zapcore/level_test.go:32:1: Function TestLevelString missing the call to method parallel (paralleltest) zapcore/level_test.go:51:1: Function TestLevelText missing the call to method parallel (paralleltest) zapcore/level_test.go:80:1: Function TestParseLevel missing the call to method parallel (paralleltest) zapcore/level_test.go:101:1: Function TestCapitalLevelsParse missing the call to method parallel (paralleltest) zapcore/level_test.go:122:1: Function TestWeirdLevelsParse missing the call to method parallel (paralleltest) zapcore/level_test.go:153:1: Function TestLevelNils missing the call to method parallel (paralleltest) zapcore/level_test.go:169:1: Function TestLevelUnmarshalUnknownText missing the call to method parallel (paralleltest) zapcore/level_test.go:175:1: Function TestLevelAsFlagValue missing the call to method parallel (paralleltest) zapcore/level_test.go:215:1: Function TestLevelOf missing the call to method parallel (paralleltest) zapcore/memory_encoder_test.go:31:1: Function TestMapObjectEncoderAdd missing the call to method parallel (paralleltest) zapcore/memory_encoder_test.go:250:2: Range statement for test TestMapObjectEncoderAdd missing the call to method parallel in test Run (paralleltest) zapcore/memory_encoder_test.go:259:1: Function TestSliceArrayEncoderAppend missing the call to method parallel (paralleltest) zapcore/memory_encoder_test.go:345:2: Range statement for test TestSliceArrayEncoderAppend missing the call to method parallel in test Run (paralleltest) zapcore/memory_encoder_test.go:361:1: Function TestMapObjectEncoderReflectionFailures missing the call to method parallel (paralleltest) zapcore/sampler_test.go:69:1: Function TestSampler missing the call to method parallel (paralleltest) zapcore/sampler_test.go:91:1: Function TestLevelOfSampler missing the call to method parallel (paralleltest) zapcore/sampler_test.go:104:1: Function TestSamplerDisabledLevels missing the call to method parallel (paralleltest) zapcore/sampler_test.go:113:1: Function TestSamplerTicking missing the call to method parallel (paralleltest) zapcore/sampler_test.go:169:1: Function TestSamplerConcurrent missing the call to method parallel (paralleltest) zapcore/sampler_test.go:250:1: Function TestSamplerRaces missing the call to method parallel (paralleltest) zapcore/sampler_test.go:271:1: Function TestSamplerUnknownLevels missing the call to method parallel (paralleltest) zapcore/sampler_test.go:278:2: Range statement for test TestSamplerUnknownLevels missing the call to method parallel in test Run (paralleltest) zapcore/sampler_test.go:291:1: Function TestSamplerWithZeroThereafter missing the call to method parallel (paralleltest) zapcore/tee_test.go:41:1: Function TestTeeUnusualInput missing the call to method parallel (paralleltest) zapcore/tee_test.go:43:2: Function TestTeeUnusualInput missing the call to method parallel in the test run (paralleltest) zapcore/tee_test.go:47:2: Function TestTeeUnusualInput missing the call to method parallel in the test run (paralleltest) zapcore/tee_test.go:52:1: Function TestLevelOfTee missing the call to method parallel (paralleltest) zapcore/tee_test.go:90:1: Function TestTeeCheck missing the call to method parallel (paralleltest) zapcore/tee_test.go:116:1: Function TestTeeWrite missing the call to method parallel (paralleltest) zapcore/tee_test.go:135:1: Function TestTeeWith missing the call to method parallel (paralleltest) zapcore/tee_test.go:152:1: Function TestTeeEnabled missing the call to method parallel (paralleltest) zapcore/tee_test.go:174:1: Function TestTeeSync missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:45:1: Function TestAddSyncWriteSyncer missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:58:1: Function TestAddSyncWriter missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:67:1: Function TestNewMultiWriteSyncerWorksForSingleWriter missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:77:1: Function TestMultiWriteSyncerWritesBoth missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:91:1: Function TestMultiWriteSyncerFailsWrite missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:97:1: Function TestMultiWriteSyncerFailsShortWrite missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:104:1: Function TestWritestoAllSyncs_EvenIfFirstErrors missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:114:1: Function TestMultiWriteSyncerSync_PropagatesErrors missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:122:1: Function TestMultiWriteSyncerSync_NoErrorsOnDiscard missing the call to method parallel (paralleltest) zapcore/write_syncer_test.go:127:1: Function TestMultiWriteSyncerSync_AllCalled missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:34:1: Function TestLoggerInfoExpected missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:68:1: Function TestLoggerDebugExpected missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:88:1: Function TestLoggerDebugSuppressed missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:98:1: Function TestLoggerWarningExpected missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:118:1: Function TestLoggerErrorExpected missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:138:1: Function TestLoggerFatalExpected missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:158:1: Function TestLoggerV missing the call to method parallel (paralleltest) zapgrpc/zapgrpc_test.go:200:2: Range statement for test TestLoggerV missing the call to method parallel in test Run (paralleltest) zapio/writer_test.go:173:2: Function TestWrite_Sync missing the call to method parallel in the test run (paralleltest) zapio/writer_test.go:177:2: Function TestWrite_Sync missing the call to method parallel in the test run (paralleltest) zapio/writer_test.go:187:2: Function TestWrite_Sync missing the call to method parallel in the test run (paralleltest) zaptest/logger_test.go:37:1: Function TestTestLogger missing the call to method parallel (paralleltest) zaptest/logger_test.go:61:1: Function TestTestLoggerSupportsLevels missing the call to method parallel (paralleltest) zaptest/logger_test.go:83:1: Function TestTestLoggerSupportsWrappedZapOptions missing the call to method parallel (paralleltest) zaptest/logger_test.go:107:1: Function TestTestingWriter missing the call to method parallel (paralleltest) zaptest/logger_test.go:116:1: Function TestTestLoggerErrorOutput missing the call to method parallel (paralleltest) zaptest/observer/logged_entry_test.go:32:1: Function TestLoggedEntryContextMap missing the call to method parallel (paralleltest) zaptest/observer/logged_entry_test.go:80:2: Range statement for test TestLoggedEntryContextMap missing the call to method parallel in test Run (paralleltest) zaptest/observer/observer_test.go:40:1: Function TestObserver missing the call to method parallel (paralleltest) zaptest/observer/observer_test.go:74:1: Function TestObserverWith missing the call to method parallel (paralleltest) zaptest/observer/observer_test.go:126:1: Function TestFilters missing the call to method parallel (paralleltest) zaptest/timeout_test.go:31:1: Function TestTimeout missing the call to method parallel (paralleltest) zaptest/timeout_test.go:36:1: Function TestSleep missing the call to method parallel (paralleltest) zaptest/writer_test.go:30:1: Function TestSyncer missing the call to method parallel (paralleltest) zaptest/writer_test.go:38:1: Function TestDiscarder missing the call to method parallel (paralleltest) zaptest/writer_test.go:46:1: Function TestFailWriter missing the call to method parallel (paralleltest) zaptest/writer_test.go:54:1: Function TestShortWriter missing the call to method parallel (paralleltest) zaptest/writer_test.go:62:1: Function TestBuffer missing the call to method parallel (paralleltest) exp/zapfield/zapfield_test.go:38:1: Function TestFieldConstructors missing the call to method parallel (paralleltest) exp/zapslog/handler_test.go:53:1: Function TestAddStack missing the call to method parallel (paralleltest) exp/zapslog/handler_test.go:73:1: Function TestAddStackSkip missing the call to method parallel (paralleltest) exp/zapslog/handler_test.go:93:2: Function TestEmptyAttr missing the call to method parallel in the test run (paralleltest) exp/zapslog/handler_test.go:107:2: Function TestEmptyAttr missing the call to method parallel in the test run (paralleltest) exp/zapslog/handler_test.go:117:2: Function TestEmptyAttr missing the call to method parallel in the test run (paralleltest) exp/zapslog/handler_test.go:133:2: Function TestWithName missing the call to method parallel in the test run (paralleltest) exp/zapslog/handler_test.go:142:2: Function TestWithName missing the call to method parallel in the test run (paralleltest) exp/zapslog/handler_test.go:159:1: Function TestAttrKinds missing the call to method parallel (paralleltest) zapgrpc/internal/test/grpc_test.go:35:1: Function TestLoggerV2 missing the call to method parallel (paralleltest) ``` </details>
- Loading branch information