Skip to content

Commit 15620f2

Browse files
fix no test cases actually run in controller_revision_test file
Signed-off-by: pingjiang <[email protected]>
1 parent 7bcaa1b commit 15620f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/controller/cloneset/revision/cloneset_revision_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ limitations under the License.
1818
package revision
1919

2020
import (
21+
"os"
2122
"reflect"
2223
"testing"
2324

@@ -32,6 +33,8 @@ import (
3233

3334
func TestMain(m *testing.M) {
3435
utilruntime.Must(apis.AddToScheme(scheme.Scheme))
36+
code := m.Run()
37+
os.Exit(code)
3538
}
3639

3740
func TestCreateApplyRevision(t *testing.T) {

0 commit comments

Comments
 (0)