You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sanity: support embedding tests multiple time in Ginkgo
When using a sequence of DescribeSanity, RegisterTestsInGinkgo,
DescribeSanity, RegisterTestsInGinkgo (i.e. embedding sanity tests in
a Ginkgo suite more than once) the first test got registered multiple
times, first by the initial RegisterTestsInGinkgo and again in the
second RegisterTestsInGinkgo.
Not only is this wrong, the locally bound variables also weren't
initialized properly by the BeforeEach functions, which could lead to
nil pointer accesses.
0 commit comments