expect(workerNode.usage.tasks.executed).toBeLessThanOrEqual(
max * maxMultiplier
)
+ if (workerNode.usage.elu.active.aggregate == null) {
+ expect(workerNode.usage.elu.active.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.active.aggregate).toBeGreaterThan(0)
+ }
+ if (workerNode.usage.elu.idle.aggregate == null) {
+ expect(workerNode.usage.elu.idle.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.idle.aggregate).toBeGreaterThanOrEqual(0)
+ }
if (workerNode.usage.elu.utilization == null) {
expect(workerNode.usage.elu.utilization).toBeUndefined()
} else {
expect(workerNode.usage.tasks.executed).toBeLessThanOrEqual(
max * maxMultiplier
)
+ if (workerNode.usage.elu.active.aggregate == null) {
+ expect(workerNode.usage.elu.active.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.active.aggregate).toBeGreaterThan(0)
+ }
+ if (workerNode.usage.elu.idle.aggregate == null) {
+ expect(workerNode.usage.elu.idle.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.idle.aggregate).toBeGreaterThanOrEqual(0)
+ }
if (workerNode.usage.elu.utilization == null) {
expect(workerNode.usage.elu.utilization).toBeUndefined()
} else {
} else {
expect(workerNode.usage.runTime.average).toBeGreaterThan(0)
}
+ if (workerNode.usage.elu.active.aggregate == null) {
+ expect(workerNode.usage.elu.active.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.active.aggregate).toBeGreaterThan(0)
+ }
+ if (workerNode.usage.elu.idle.aggregate == null) {
+ expect(workerNode.usage.elu.idle.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.idle.aggregate).toBeGreaterThanOrEqual(0)
+ }
if (workerNode.usage.elu.utilization == null) {
expect(workerNode.usage.elu.utilization).toBeUndefined()
} else {
} else {
expect(workerNode.usage.runTime.average).toBeGreaterThan(0)
}
+ if (workerNode.usage.elu.active.aggregate == null) {
+ expect(workerNode.usage.elu.active.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.active.aggregate).toBeGreaterThan(0)
+ }
+ if (workerNode.usage.elu.idle.aggregate == null) {
+ expect(workerNode.usage.elu.idle.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.idle.aggregate).toBeGreaterThanOrEqual(0)
+ }
if (workerNode.usage.elu.utilization == null) {
expect(workerNode.usage.elu.utilization).toBeUndefined()
} else {
} else {
expect(workerNode.usage.runTime.median).toBeGreaterThan(0)
}
+ if (workerNode.usage.elu.active.aggregate == null) {
+ expect(workerNode.usage.elu.active.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.active.aggregate).toBeGreaterThan(0)
+ }
+ if (workerNode.usage.elu.idle.aggregate == null) {
+ expect(workerNode.usage.elu.idle.aggregate).toBeUndefined()
+ } else {
+ expect(workerNode.usage.elu.idle.aggregate).toBeGreaterThanOrEqual(0)
+ }
if (workerNode.usage.elu.utilization == null) {
expect(workerNode.usage.elu.utilization).toBeUndefined()
} else {