Tags: exploopio/sdk
Tags
fix(test): resolve race conditions in concurrent tests Fix data races detected by -race flag in tests: - pipeline: add mutex for callback variables in TestPipeline_Callbacks, TestPipeline_Retry, TestPipeline_RetryExhausted, TestPipeline_SubmitWithOptions - platform: add mutex to mockPipelineUploader.uploads counter - resource: add mutex for callback variables in TestController_ThresholdCallbacks Also fix TestPipeline_QueueFull logic - queue full threshold was off by one (queue size 2 + 1 worker = 3 items before full, not 2)
PreviousNext