Skip to content

Commit 5751379

Browse files
author
Abduqodiri Qurbonzoda
committed
Run linux and windows benchmarks in both m5d.xlarge and m5.xlarge instances
1 parent fc3a137 commit 5751379

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.teamcity/Benchmarks.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ fun benchmarkTask(target: String, platform: Platform): String = when(target) {
7272
}
7373

7474
fun Requirements.benchmarkAgentInstanceTypeRequirement(platform: Platform) {
75-
if (platform == Platform.Linux) equals("system.ec2.instance-type", "m5d.xlarge")
76-
else if (platform == Platform.Windows) equals("system.ec2.instance-type", "m5.xlarge")
75+
if (platform == Platform.Linux || platform == Platform.Windows) {
76+
matches("system.ec2.instance-type", "m5d?.xlarge")
77+
}
7778
}

0 commit comments

Comments
 (0)