Skip to content

Commit

Permalink
[YUNIKORN-1901] A basic example for the user tracing and the group tr…
Browse files Browse the repository at this point in the history
…acing
  • Loading branch information
0yukali0 committed Sep 17, 2023
1 parent 8c7b17e commit dfe16e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/user_quota_tracing/user_quota_tracing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
. "github.com/onsi/gomega"

"github.com/apache/yunikorn-core/pkg/webservice/dao"
amConf "github.com/apache/yunikorn-k8shim/pkg/admission/conf"
"github.com/apache/yunikorn-k8shim/pkg/common/constants"
tests "github.com/apache/yunikorn-k8shim/test/e2e"
"github.com/apache/yunikorn-k8shim/test/e2e/framework/configmanager"
Expand Down Expand Up @@ -73,6 +74,8 @@ var _ = Describe("QuotaTracking: Two leaf queues for two groups", func() {
- name: group1_resources
- name: group2_resources
`,
amConf.AMAccessControlExternalUsers: "^user1$,^user2$,^user3$",
amConf.AMAccessControlExternalGroups: "^group1$,^group2$",
},
}
cm, err := kClient.UpdateConfigMap(&configMap, configmanager.YuniKornTestConfig.YkNamespace)
Expand Down

0 comments on commit dfe16e5

Please sign in to comment.