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
b5a91bda
Commit
b5a91bda
authored
Jun 02, 2015
by
Brian Grant
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9168 from jayunit100/ginkgo-names
Ginkgo naming conventions (fixed)
parents
3cfd2bd7
f3da0755
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
empty_dir.go
test/e2e/empty_dir.go
+1
-1
kubectl.go
test/e2e/kubectl.go
+3
-3
load.go
test/e2e/load.go
+1
-1
monitoring.go
test/e2e/monitoring.go
+1
-1
networking.go
test/e2e/networking.go
+2
-2
pd.go
test/e2e/pd.go
+1
-1
shell.go
test/e2e/shell.go
+1
-1
volumes.go
test/e2e/volumes.go
+1
-1
No files found.
test/e2e/empty_dir.go
View file @
b5a91bda
...
...
@@ -27,7 +27,7 @@ import (
.
"github.com/onsi/ginkgo"
)
var
_
=
Describe
(
"
emptyDir
"
,
func
()
{
var
_
=
Describe
(
"
EmptyDir volumes
"
,
func
()
{
f
:=
NewFramework
(
"emptydir"
)
It
(
"volume on tmpfs should have the correct mode"
,
func
()
{
...
...
test/e2e/kubectl.go
View file @
b5a91bda
...
...
@@ -44,7 +44,7 @@ const (
guestbookResponseTimeout
=
3
*
time
.
Minute
)
var
_
=
Describe
(
"
kubectl
"
,
func
()
{
var
_
=
Describe
(
"
Kubectl client
"
,
func
()
{
defer
GinkgoRecover
()
var
c
*
client
.
Client
var
ns
string
...
...
@@ -65,7 +65,7 @@ var _ = Describe("kubectl", func() {
}
})
Describe
(
"
update-d
emo"
,
func
()
{
Describe
(
"
Update D
emo"
,
func
()
{
var
updateDemoRoot
,
nautilusPath
,
kittenPath
string
BeforeEach
(
func
()
{
updateDemoRoot
=
filepath
.
Join
(
testContext
.
RepoRoot
,
"examples/update-demo"
)
...
...
@@ -106,7 +106,7 @@ var _ = Describe("kubectl", func() {
})
})
Describe
(
"
guestbook
"
,
func
()
{
Describe
(
"
Guestbook application
"
,
func
()
{
var
guestbookPath
string
BeforeEach
(
func
()
{
guestbookPath
=
filepath
.
Join
(
testContext
.
RepoRoot
,
"examples/guestbook"
)
...
...
test/e2e/load.go
View file @
b5a91bda
...
...
@@ -44,7 +44,7 @@ const (
// the ginkgo.skip list (see driver.go).
// To run this suite you must explicitly ask for it by setting the
// -t/--test flag or ginkgo.focus flag.
var
_
=
Describe
(
"Load"
,
func
()
{
var
_
=
Describe
(
"Load
capacity
"
,
func
()
{
var
c
*
client
.
Client
var
nodeCount
int
var
ns
string
...
...
test/e2e/monitoring.go
View file @
b5a91bda
...
...
@@ -41,7 +41,7 @@ var _ = Describe("Monitoring", func() {
expectNoError
(
err
)
})
It
(
"verify monitoring pods and all cluster nodes are available on influxdb using heapster."
,
func
()
{
It
(
"
should
verify monitoring pods and all cluster nodes are available on influxdb using heapster."
,
func
()
{
if
!
providerIs
(
"gce"
)
{
By
(
fmt
.
Sprintf
(
"Skipping Monitoring test, which is only supported for provider gce (not %s)"
,
testContext
.
Provider
))
...
...
test/e2e/networking.go
View file @
b5a91bda
...
...
@@ -31,7 +31,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"Ne
tworkingNew
"
,
func
()
{
var
_
=
Describe
(
"Ne
w networking
"
,
func
()
{
f
:=
NewFramework
(
"nettestnew"
)
var
svcname
=
"nettest"
...
...
@@ -244,7 +244,7 @@ func LaunchNetTestPodPerNode(f *Framework, nodes *api.NodeList, name, version st
return
podNames
}
var
_
=
Describe
(
"
N
etworking"
,
func
()
{
var
_
=
Describe
(
"
Old n
etworking"
,
func
()
{
f
:=
NewFramework
(
"nettest"
)
var
svcname
=
"nettest"
...
...
test/e2e/pd.go
View file @
b5a91bda
...
...
@@ -33,7 +33,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"P
D
"
,
func
()
{
var
_
=
Describe
(
"P
od Disks
"
,
func
()
{
var
(
c
*
client
.
Client
podClient
client
.
PodInterface
...
...
test/e2e/shell.go
View file @
b5a91bda
...
...
@@ -28,7 +28,7 @@ import (
var
_
=
Describe
(
"Shell"
,
func
()
{
defer
GinkgoRecover
()
It
(
fmt
.
Sprintf
(
"
tests that services.sh passes
"
),
func
()
{
It
(
fmt
.
Sprintf
(
"
should pass tests for services.sh
"
),
func
()
{
// The services script only works on gce/gke
if
!
providerIs
(
"gce"
,
"gke"
)
{
By
(
fmt
.
Sprintf
(
"Skipping Shell test services.sh, which is only supported for provider gce and gke (not %s)"
,
...
...
test/e2e/volumes.go
View file @
b5a91bda
...
...
@@ -192,7 +192,7 @@ func testVolumeClient(client *client.Client, config VolumeTestConfig, volume api
Expect
(
body
)
.
To
(
ContainSubstring
(
expectedContent
))
}
var
_
=
Describe
(
"Volume"
,
func
()
{
var
_
=
Describe
(
"Volume
s
"
,
func
()
{
clean
:=
true
// If 'false', the test won't clear its namespace (and pods and services) upon completion. Useful for debugging.
// filled in BeforeEach
...
...
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