mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Merge pull request #25271 from euank/fix-missing-resttest-call
Automatic merge from submit-queue test: Call forgotten resttest test PR #3789 introduced this test, but it was never called. This test was created, but never called. Written, but never run. It has neither flaked nor asserted. At its inception it was deserted. My change gives this test a chance, to at long last finally pass. The resttest stuff is a bit complicated and I'm not totally sure I put it in the right place @smarterclayton, want to double check this change makes sense?
This commit is contained in:
commit
6376b52b90
@ -152,6 +152,7 @@ func (t *Tester) TestCreate(valid runtime.Object, createFn CreateFunc, getFn Get
|
||||
t.testCreateDiscardsObjectNamespace(copyOrDie(valid))
|
||||
t.testCreateIgnoresContextNamespace(copyOrDie(valid))
|
||||
t.testCreateIgnoresMismatchedNamespace(copyOrDie(valid))
|
||||
t.testCreateResetsUserData(copyOrDie(valid))
|
||||
} else {
|
||||
t.testCreateRejectsMismatchedNamespace(copyOrDie(valid))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user