Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
14e606b2
Commit
14e606b2
authored
Sep 13, 2022
by
Derek Nola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced deprecated Ginkgo reporting
Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
a43c948e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
3 deletions
+39
-3
test
scripts/test
+36
-0
dualstack_test.go
tests/e2e/dualstack/dualstack_test.go
+1
-1
splitserver_test.go
tests/e2e/splitserver/splitserver_test.go
+1
-1
upgradecluster_test.go
tests/e2e/upgradecluster/upgradecluster_test.go
+1
-1
No files found.
scripts/test
View file @
14e606b2
...
...
@@ -34,4 +34,40 @@ echo "Did test-run-lazypull $?"
E2E_OUTPUT
=
$artifacts
test-run-sonobuoy serial
echo
"Did test-run-sonobuoy serial
$?
"
# ---
if
[
"
$DRONE_BUILD_EVENT
"
=
'tag'
]
;
then
E2E_OUTPUT
=
$artifacts
test-run-sonobuoy parallel
echo
"Did test-run-sonobuoy parallel
$?
"
early-exit
'Skipping remaining tests on tag.'
fi
# ---
test-run-sonobuoy etcd serial
echo
"Did test-run-sonobuoy-etcd serial
$?
"
test-run-sonobuoy mysql serial
echo
"Did test-run-sonobuoy-mysqk serial
$?
"
test-run-sonobuoy postgres serial
echo
"Did test-run-sonobuoy-postgres serial
$?
"
# Wait until all serial tests have finished
delay
=
15
(
set
+x
while
[
$(
count-running-tests
)
-ge
1
]
;
do
sleep
$delay
done
)
E2E_OUTPUT
=
$artifacts
test-run-sonobuoy parallel
echo
"Did test-run-sonobuoy parallel
$?
"
test-run-sonobuoy etcd parallel
echo
"Did test-run-sonobuoy-etcd parallel
$?
"
test-run-sonobuoy mysql parallel
echo
"Did test-run-sonobuoy-mysql parallel
$?
"
test-run-sonobuoy postgres parallel
echo
"Did test-run-sonobuoy-postgres parallel
$?
"
exit
0
tests/e2e/dualstack/dualstack_test.go
View file @
14e606b2
...
...
@@ -201,7 +201,7 @@ var _ = Describe("Verify DualStack Configuration", Ordered, func() {
var
failed
bool
var
_
=
AfterEach
(
func
()
{
failed
=
failed
||
Current
GinkgoTestDescription
()
.
Failed
failed
=
failed
||
Current
SpecReport
()
.
Failed
()
})
var
_
=
AfterSuite
(
func
()
{
...
...
tests/e2e/splitserver/splitserver_test.go
View file @
14e606b2
...
...
@@ -221,7 +221,7 @@ var _ = Describe("Verify Create", Ordered, func() {
var
failed
=
false
var
_
=
AfterEach
(
func
()
{
failed
=
failed
||
Current
GinkgoTestDescription
()
.
Failed
failed
=
failed
||
Current
SpecReport
()
.
Failed
()
})
var
_
=
AfterSuite
(
func
()
{
...
...
tests/e2e/upgradecluster/upgradecluster_test.go
View file @
14e606b2
...
...
@@ -375,7 +375,7 @@ var _ = Describe("Verify Upgrade", Ordered, func() {
var
failed
=
false
var
_
=
AfterEach
(
func
()
{
failed
=
failed
||
Current
GinkgoTestDescription
()
.
Failed
failed
=
failed
||
Current
SpecReport
()
.
Failed
()
})
var
_
=
AfterSuite
(
func
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment