[ https://issues.apache.org/jira/browse/YUNIKORN-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kinga Marton resolved YUNIKORN-886. ----------------------------------- Fix Version/s: 1.0.0 Resolution: Fixed > Fix e2e tests after YUNIKORN-794 > -------------------------------- > > Key: YUNIKORN-886 > URL: https://issues.apache.org/jira/browse/YUNIKORN-886 > Project: Apache YuniKorn > Issue Type: Test > Components: shim - kubernetes > Reporter: Peter Bacsko > Assignee: Peter Bacsko > Priority: Major > Labels: pull-request-available > Fix For: 1.0.0 > > > YUNIKORN-794 changed the REST API, which broke the e2e tests: > {noformat} > /home/runner/work/incubator-yunikorn-k8shim/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt/queue_quota_mgmt_test.go:34 > Verify_Queue_Quota_Allocation [It] > > /home/runner/work/incubator-yunikorn-k8shim/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt/queue_quota_mgmt_test.go:69 > Test Panicked > interface conversion: interface {} is nil, not string > /opt/hostedtoolcache/go/1.15.15/x64/src/runtime/iface.go:261 > Full Stack Trace > > github.com/apache/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt_test.glob..func3.2() > > /home/runner/work/incubator-yunikorn-k8shim/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt/queue_quota_mgmt_test.go:105 > +0x29ff > github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000038360, > 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) > > /home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.5/internal/leafnodes/runner.go:113 > +0xa3 > [...] > > github.com/apache/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt_test.TestStateAwareAppScheduling(0xc0000ee780) > > /home/runner/work/incubator-yunikorn-k8shim/incubator-yunikorn-k8shim/test/e2e/queue_quota_mgmt/queue_quota_mgmt_suite_test.go:83 > +0x156 > testing.tRunner(0xc0000ee780, 0x1b75ca8) > /opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0xef > created by testing.(*T).Run > /opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x2b3 > ------------------------------ > {noformat} > Problem is that we expect strings like "maxcapacity", "usedcapacity", etc. > but the JSON response was slightly modified. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org