Skip to content

Commit 628ba7f

Browse files
committed
fixed stuff
1 parent 7457b23 commit 628ba7f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/workceptor/command_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func TestCommandSetFromParams(t *testing.T) {
8989
}
9090

9191
func TestUnredactedStatus(t *testing.T) {
92+
t.Parallel()
9293
wu, mockBaseWorkUnit, _, _ := createCommandTestSetup(t)
9394
restartTestCases := []struct {
9495
name string

pkg/workceptor/remote_work_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func createRemoteWorkTestSetup(t *testing.T) (workceptor.WorkUnit, *mock_workcep
3232
}
3333

3434
func TestRemoteWorkUnredactedStatus(t *testing.T) {
35+
t.Parallel()
3536
wu, mockBaseWorkUnit, _, _ := createRemoteWorkTestSetup(t)
3637
restartTestCases := []struct {
3738
name string
@@ -45,7 +46,6 @@ func TestRemoteWorkUnredactedStatus(t *testing.T) {
4546
t.Run(testCase.name, func(t *testing.T) {
4647
t.Parallel()
4748
statusLock := &sync.RWMutex{}
48-
mockBaseWorkUnit.EXPECT().GetWorkceptor().AnyTimes()
4949
mockBaseWorkUnit.EXPECT().GetStatusLock().Return(statusLock).Times(2)
5050
mockBaseWorkUnit.EXPECT().GetStatusWithoutExtraData().Return(&workceptor.StatusFileData{})
5151
mockBaseWorkUnit.EXPECT().GetStatusCopy().Return(workceptor.StatusFileData{

0 commit comments

Comments
 (0)