Skip to content

Commit

Permalink
fix no test cases actually run in controller_revision_test file
Browse files Browse the repository at this point in the history
Signed-off-by: pingjiang <[email protected]>
  • Loading branch information
xiangpingjiang committed Nov 27, 2023
1 parent 7bcaa1b commit 15620f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controller/cloneset/revision/cloneset_revision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
package revision

import (
"os"
"reflect"
"testing"

Expand All @@ -32,6 +33,8 @@ import (

func TestMain(m *testing.M) {
utilruntime.Must(apis.AddToScheme(scheme.Scheme))
code := m.Run()
os.Exit(code)
}

func TestCreateApplyRevision(t *testing.T) {
Expand Down

0 comments on commit 15620f2

Please sign in to comment.