Merge pull request #7851 from hashicorp/spread-configuration-followup

Follow up fix for spread
This commit is contained in:
Mahmood Ali 2020-05-01 13:48:31 -04:00 committed by GitHub
commit bc25da9dac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,7 @@ func TestBinPackIterator_Network_Success(t *testing.T) {
},
},
}
binp := NewBinPackIterator(ctx, static, false, 0)
binp := NewBinPackIterator(ctx, static, false, 0, structs.SchedulerAlgorithmBinpack)
binp.SetTaskGroup(taskGroup)
scoreNorm := NewScoreNormalizationIterator(ctx, binp)