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
4432ba06
Commit
4432ba06
authored
Jan 05, 2015
by
Eric Tune
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3203 from thockin/integ
Integration test scaffolding fixes
parents
a377f1b2
a57976b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
integration.go
cmd/integration/integration.go
+3
-1
standalone.go
pkg/standalone/standalone.go
+1
-0
No files found.
cmd/integration/integration.go
View file @
4432ba06
...
@@ -19,6 +19,7 @@ limitations under the License.
...
@@ -19,6 +19,7 @@ limitations under the License.
package
main
package
main
import
(
import
(
"flag"
"io/ioutil"
"io/ioutil"
"net"
"net"
"net/http"
"net/http"
...
@@ -172,7 +173,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
...
@@ -172,7 +173,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
schedulerConfigFactory
:=
factory
.
NewConfigFactory
(
cl
)
schedulerConfigFactory
:=
factory
.
NewConfigFactory
(
cl
)
schedulerConfig
,
err
:=
schedulerConfigFactory
.
Create
()
schedulerConfig
,
err
:=
schedulerConfigFactory
.
Create
()
if
err
!=
nil
{
if
err
!=
nil
{
glog
.
Fatal
(
"Couldn't create scheduler config: %v"
,
err
)
glog
.
Fatal
f
(
"Couldn't create scheduler config: %v"
,
err
)
}
}
scheduler
.
New
(
schedulerConfig
)
.
Run
()
scheduler
.
New
(
schedulerConfig
)
.
Run
()
...
@@ -548,6 +549,7 @@ func runServiceTest(client *client.Client) {
...
@@ -548,6 +549,7 @@ func runServiceTest(client *client.Client) {
type
testFunc
func
(
*
client
.
Client
)
type
testFunc
func
(
*
client
.
Client
)
func
main
()
{
func
main
()
{
flag
.
Parse
()
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
util
.
ReallyCrash
=
true
util
.
ReallyCrash
=
true
util
.
InitLogs
()
util
.
InitLogs
()
...
...
pkg/standalone/standalone.go
View file @
4432ba06
...
@@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock
...
@@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock
Address
:
util
.
IP
(
net
.
ParseIP
(
address
)),
Address
:
util
.
IP
(
net
.
ParseIP
(
address
)),
EnableServer
:
true
,
EnableServer
:
true
,
EnableDebuggingHandlers
:
true
,
EnableDebuggingHandlers
:
true
,
SyncFrequency
:
3
*
time
.
Second
,
}
}
RunKubelet
(
&
kcfg
)
RunKubelet
(
&
kcfg
)
}
}
...
...
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