This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: test to exercise emulated k8s cluster code
Signed-off-by: Lalith Suresh <[email protected]>
- Loading branch information
1 parent
b8386dd
commit 8e481b8
Showing
3 changed files
with
34 additions
and
13 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
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
17 changes: 17 additions & 0 deletions
17
k8s-scheduler/src/test/java/com/vmware/dcm/WorkloadReplayTest.java
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright 2018-2020 VMware, Inc. All Rights Reserved. | ||
* SPDX-License-Identifier: BSD-2 | ||
*/ | ||
|
||
package com.vmware.dcm; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class WorkloadReplayTest { | ||
|
||
@Test | ||
public void runTest() throws Exception { | ||
final String[] args = {"-n", "500", "-f", "test-data.txt", "-c", "100", "-m", "200", "-t", "100", "-s", "0"}; | ||
EmulatedCluster.runWorkload(args); | ||
} | ||
} |