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
56a356d5
Commit
56a356d5
authored
May 21, 2015
by
jayunit100
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove global client variable and initialize it locally in tests which accidentally used it.
parent
3e06df42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
networking.go
test/e2e/networking.go
+0
-2
reboot.go
test/e2e/reboot.go
+3
-0
ssh.go
test/e2e/ssh.go
+5
-0
No files found.
test/e2e/networking.go
View file @
56a356d5
...
...
@@ -31,8 +31,6 @@ import (
.
"github.com/onsi/gomega"
)
var
c
*
client
.
Client
=
nil
func
LaunchNetTestPodPerNode
(
nodes
*
api
.
NodeList
,
name
string
,
c
*
client
.
Client
,
ns
string
)
[]
string
{
podNames
:=
[]
string
{}
...
...
test/e2e/reboot.go
View file @
56a356d5
...
...
@@ -55,6 +55,9 @@ const (
)
var
_
=
Describe
(
"Reboot"
,
func
()
{
var
c
*
client
.
Client
=
nil
BeforeEach
(
func
()
{
var
err
error
c
,
err
=
loadClient
()
...
...
test/e2e/ssh.go
View file @
56a356d5
...
...
@@ -20,11 +20,16 @@ import (
"fmt"
"strings"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
.
"github.com/onsi/ginkgo"
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"SSH"
,
func
()
{
var
c
*
client
.
Client
=
nil
BeforeEach
(
func
()
{
var
err
error
c
,
err
=
loadClient
()
...
...
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