Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions orchestrator/stage/squash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func TestMultiSquashWithDifferentSegments(t *testing.T) {
mergeUnit := Unit{Stage: 0, Segment: 1}

for _, modState := range stage.storeModuleStates {
modState := modState
if mergeUnit.Segment < modState.segmenter.FirstIndex() {
continue
}
Expand Down Expand Up @@ -175,7 +174,6 @@ func TestMultiSquashErrorHandling(t *testing.T) {

// Simulate error in one of the goroutines
for idx := range stage.storeModuleStates {
idx := idx
stage.syncWork.Go(func() error {
if idx == 1 {
return assert.AnError // Simulate error in second module
Expand Down Expand Up @@ -327,7 +325,6 @@ func TestSyncWorkGroupBehavior(t *testing.T) {

// Spawn multiple goroutines with different execution times
for i := range 5 {
i := i
group.Go(func() error {
sleepTime := time.Duration(5-i) * 10 * time.Millisecond
time.Sleep(sleepTime)
Expand Down