t.Errorf("FirstTimestamp (%q) and LastTimestamp (%q) must be equal to indicate only one occurrence of the event, but were different. Actual Event: %#v",actualEvent.FirstTimestamp,actualEvent.LastTimestamp,*actualEvent)
t.Errorf("FirstTimestamp (%q) and LastTimestamp (%q) must be different to indicate event compression happened, but were the same. Actual Event: %#v",actualFirstTimestamp,actualLastTimestamp,*actualEvent)
}
}
}else{
}else{
if!expectCompression{
ifexpectedEvent.Count==1{
t.Errorf("FirstTimestamp (%q) and LastTimestamp (%q) must be different to indicate event compression happened, but were the same. Actual Event: %#v",actualEvent.FirstTimestamp,actualEvent.LastTimestamp,*actualEvent)
t.Errorf("FirstTimestamp (%q) and LastTimestamp (%q) must be equal to indicate only one occurrence of the event, but were different. Actual Event: %#v",actualFirstTimestamp,actualLastTimestamp,*actualEvent)
}
}
}
}
actualFirstTimestamp:=actualEvent.FirstTimestamp
actualLastTimestamp:=actualEvent.LastTimestamp
// Temp clear time stamps for comparison because actual values don't matter for comparison
// Temp clear time stamps for comparison because actual values don't matter for comparison