@@ -24,8 +24,8 @@ var role_doc = `{
var (
travisValue = strings.Split(os.Getenv("TRAVIS_JOB_NUMBER"), ".")
- username = "testuser" + travisValue[len(travisValue)-1]
- rolename = "testrole" + travisValue[len(travisValue)-1]
+ username = "test-go-user" + travisValue[len(travisValue)-1]
+ rolename = "test-go-role" + travisValue[len(travisValue)-1]
rolearn = fmt.Sprintf("acs:ram::%s:role/%s", os.Getenv("USER_ID"), rolename)
)
@@ -10,7 +10,7 @@ import (
"testing"
-var crTestKey = "crtestkey"
+var crTestKey = "crtestkey" + travisValue[len(travisValue)-1]
func Test_CR_CreateNamespace(t *testing.T) {
client, err := cr.NewClientWithAccessKey(os.Getenv("REGION_ID"), os.Getenv("ACCESS_KEY_ID"), os.Getenv("ACCESS_KEY_SECRET"))