Description
Re-apply the changes that made parallel loading of data for the Spec tests, meaning reverting this #134738 and, possibly this one #134511
After an internal investigation from @craigtaverner, it is possible that a bug while creating the data is hidden. This can potentially aggravate a race condition in the setup() method in EsqlSpecTestCase where the dataLoaded boolean is not set to true even if the loading happens. If later parts of the loading process fail, the data will have been loaded, while the boolean remains false, so the next test will re-attempt the data load, leading to the error that shows that a resource already exists - resource_already_exists_exception.
Related to #131949
Description
Re-apply the changes that made parallel loading of data for the Spec tests, meaning reverting this #134738 and, possibly this one #134511
After an internal investigation from @craigtaverner, it is possible that a bug while creating the data is hidden. This can potentially aggravate a race condition in the
setup()method inEsqlSpecTestCasewhere thedataLoadedboolean is not set totrueeven if the loading happens. If later parts of the loading process fail, the data will have been loaded, while the boolean remainsfalse, so the next test will re-attempt the data load, leading to the error that shows that a resource already exists -resource_already_exists_exception.Related to #131949