You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2023/08/30 16:23:55 UTC

[yunikorn-core] branch master updated: [YUNIKORN-1793] [ADDENDUM] Handle placement rule and queue changes during initialisation

This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e1e0a31 [YUNIKORN-1793] [ADDENDUM] Handle placement rule and queue changes during initialisation
6e1e0a31 is described below

commit 6e1e0a31e1629e9a3c21612eeb14a305f686d7ad
Author: Craig Condit <cc...@apache.org>
AuthorDate: Wed Aug 30 11:19:52 2023 -0500

    [YUNIKORN-1793] [ADDENDUM] Handle placement rule and queue changes during initialisation
    
    Fix unit test compilation due to invalid auto-merge.
---
 pkg/scheduler/utilities_test.go | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/pkg/scheduler/utilities_test.go b/pkg/scheduler/utilities_test.go
index 80b44a08..e7f15359 100644
--- a/pkg/scheduler/utilities_test.go
+++ b/pkg/scheduler/utilities_test.go
@@ -430,7 +430,13 @@ func newApplicationTags(appID, partition, queueName string, tags map[string]stri
 		User:   "testuser",
 		Groups: []string{"testgroup"},
 	}
-	return newApplicationWithUser(appID, partition, queueName, user)
+	siApp := &si.AddApplicationRequest{
+		ApplicationID: appID,
+		QueueName:     queueName,
+		PartitionName: partition,
+		Tags:          tags,
+	}
+	return objects.NewApplication(siApp, user, nil, rmID)
 }
 
 func newApplicationWithUser(appID, partition, queueName string, user security.UserGroup) *objects.Application {
@@ -438,7 +444,6 @@ func newApplicationWithUser(appID, partition, queueName string, user security.Us
 		ApplicationID: appID,
 		QueueName:     queueName,
 		PartitionName: partition,
-		Tags:          tags,
 	}
 	return objects.NewApplication(siApp, user, nil, rmID)
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org