SERVER-133124ClosedWon't Fix

Refactor query stats read errors unit tests

Clean up query_stats_store_test.cpp after all read errors unit tests are added. Some things to clean up: * Add a QueryStatsErrorsTest : QueryStatsStoreTest fixture holding the flag guard as a member so unittest::ServerParameterGuard errorsEnabled("featureFlagQueryStatsErrors", true) isn't repeated * If SERVER-131927 changes makeFindKeyFromQuery to return unique_ptr<key> instead of const key, then the lambda on 344-347 can be removed (currently builds the key twice - once to hash and once

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-query-statsdino-tech-debtdino-testing