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
6e6ae452
Commit
6e6ae452
authored
Jun 12, 2016
by
Daniel Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make each integration test use different prefix
parent
6419b43a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
master_utils.go
test/integration/framework/master_utils.go
+6
-2
No files found.
test/integration/framework/master_utils.go
View file @
6e6ae452
...
...
@@ -49,9 +49,10 @@ import (
kubeletclient
"k8s.io/kubernetes/pkg/kubelet/client"
"k8s.io/kubernetes/pkg/master"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/storage/etcd/etcdtest"
"k8s.io/kubernetes/pkg/storage/storagebackend"
"k8s.io/kubernetes/plugin/pkg/admission/admit"
"github.com/pborman/uuid"
)
const
(
...
...
@@ -154,7 +155,10 @@ func startMasterOrDie(masterConfig *master.Config) (*master.Master, *httptest.Se
func
NewMasterConfig
()
*
master
.
Config
{
config
:=
storagebackend
.
Config
{
ServerList
:
[]
string
{
"http://127.0.0.1:4001"
},
Prefix
:
etcdtest
.
PathPrefix
(),
// TODO: this is a quick hack to work around #27179. It
// conveniently exercises the prefix code, so maybe it's worth
// leaving in.
Prefix
:
uuid
.
New
(),
}
negotiatedSerializer
:=
NewSingleContentTypeSerializer
(
api
.
Scheme
,
testapi
.
Default
.
Codec
(),
runtime
.
ContentTypeJSON
)
...
...
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