-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af10b79
commit acdde25
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ class FunctionPullingContainerPoolTests | |
private val exec = CodeExecAsString(RuntimeManifest(actionKind, ImageName("testImage")), "testCode", None) | ||
private val memoryLimit = MemoryLimit.STD_MEMORY.toMB.MB | ||
private val whiskAction = WhiskAction(EntityPath("actionSpace"), EntityName("actionName"), exec) | ||
private val docId = DocId("actionSpace/[email protected]") | ||
private val invocationNamespace = EntityName("invocationSpace") | ||
private val schedulerHost = "127.17.0.1" | ||
private val rpcPort = 13001 | ||
|
@@ -114,11 +115,13 @@ class FunctionPullingContainerPoolTests | |
EntityName("bigActionName"), | ||
exec, | ||
limits = ActionLimits(memory = MemoryLimit(memoryLimit * 2))) | ||
private val bigDocId = DocId("actionSpace/[email protected]") | ||
private val execMetadata = CodeExecMetaDataAsString(exec.manifest, entryPoint = exec.entryPoint) | ||
private val actionMetaData = | ||
WhiskActionMetaData( | ||
whiskAction.namespace, | ||
whiskAction.name, | ||
docId, | ||
execMetadata, | ||
whiskAction.parameters, | ||
whiskAction.limits, | ||
|
@@ -129,6 +132,7 @@ class FunctionPullingContainerPoolTests | |
WhiskActionMetaData( | ||
bigWhiskAction.namespace, | ||
bigWhiskAction.name, | ||
bigDocId, | ||
execMetadata, | ||
bigWhiskAction.parameters, | ||
bigWhiskAction.limits, | ||
|