Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
corverroos committed May 11, 2022
1 parent a06fb43 commit 7547fbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func TestSchedulerDuties(t *testing.T) {
t.Run(test.Name, func(t *testing.T) {
// Configure beacon mock
var t0 time.Time
t0 = t0.Add(time.Minute * 8) // Nice round slot numbers.

valSet := beaconmock.ValidatorSetA
eth2Cl, err := beaconmock.New(
Expand Down Expand Up @@ -284,7 +283,7 @@ func TestSchedulerDuties(t *testing.T) {
// Add deadlines to results
deadlines := delayer.Get()
for i := 0; i < len(results); i++ {
results[i].Time = deadlines[results[i].Duty].Format("04:05.000")
results[i].Time = deadlines[results[i].Duty].UTC().Format("04:05.000")
}
// Make result order deterministic
sort.Slice(results, func(i, j int) bool {
Expand Down

0 comments on commit 7547fbc

Please sign in to comment.