Skip to content

Commit

Permalink
Make propeller tests pass
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Graetz <[email protected]>
  • Loading branch information
fg91 committed Apr 7, 2024
1 parent 8a8bdf1 commit c6d0802
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"reflect"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
Expand Down Expand Up @@ -762,13 +763,15 @@ func TestPluginManager_Handle_PluginState(t *testing.T) {
},
}

phaseInfoQueued := pluginsCore.PhaseInfoQueuedWithTaskInfo(pluginStateQueued.K8sPluginState.PhaseVersion, pluginStateQueued.K8sPluginState.Reason, nil)
phaseInfoQueued := pluginsCore.PhaseInfoQueuedWithTaskInfo(time.Now(), pluginStateQueued.K8sPluginState.PhaseVersion, pluginStateQueued.K8sPluginState.Reason, nil)
phaseInfoQueuedVersion1 := pluginsCore.PhaseInfoQueuedWithTaskInfo(
time.Now(),
pluginStateQueuedVersion1.K8sPluginState.PhaseVersion,
pluginStateQueuedVersion1.K8sPluginState.Reason,
nil,
)
phaseInfoQueuedReasonBar := pluginsCore.PhaseInfoQueuedWithTaskInfo(
time.Now(),
pluginStateQueuedReasonBar.K8sPluginState.PhaseVersion,
pluginStateQueuedReasonBar.K8sPluginState.Reason,
nil,
Expand Down

0 comments on commit c6d0802

Please sign in to comment.