@@ -139,7 +139,7 @@ func Test_LruAssignmentLogger_changeInVariationCausesLogging(t *testing.T) {
139
139
innerLogger .AssertNumberOfCalls (t , "LogAssignment" , 2 )
140
140
}
141
141
142
- func Test_LruAssignmentLogger_allocationOscillationOnlyLoggedOnce (t * testing.T ) {
142
+ func Test_LruAssignmentLogger_allocationOscillationLogsAll (t * testing.T ) {
143
143
innerLogger := new (mockLogger )
144
144
innerLogger .On ("LogAssignment" , mock .Anything ).Return ()
145
145
@@ -182,10 +182,10 @@ func Test_LruAssignmentLogger_allocationOscillationOnlyLoggedOnce(t *testing.T)
182
182
SubjectAttributes : Attributes {"testKey" : "testValue" },
183
183
})
184
184
185
- innerLogger .AssertNumberOfCalls (t , "LogAssignment" , 2 )
185
+ innerLogger .AssertNumberOfCalls (t , "LogAssignment" , 4 )
186
186
}
187
187
188
- func Test_LruAssignmentLogger_variationOscillationOnlyLoggedOnce (t * testing.T ) {
188
+ func Test_LruAssignmentLogger_variationOscillationLogsAll (t * testing.T ) {
189
189
innerLogger := new (mockLogger )
190
190
innerLogger .On ("LogAssignment" , mock .Anything ).Return ()
191
191
@@ -228,5 +228,5 @@ func Test_LruAssignmentLogger_variationOscillationOnlyLoggedOnce(t *testing.T) {
228
228
SubjectAttributes : Attributes {"testKey" : "testValue" },
229
229
})
230
230
231
- innerLogger .AssertNumberOfCalls (t , "LogAssignment" , 2 )
231
+ innerLogger .AssertNumberOfCalls (t , "LogAssignment" , 4 )
232
232
}
0 commit comments