*: fix data race in TestTiFlashGroupIndexWhenStartup
#37371
Merged
TestTiFlashGroupIndexWhenStartup
#37371