Skip to content

Commit a6ac637

Browse files
committed
changefeedccl: enable changefeed tests on ARM
This change enables all changefeed tests on ARM except for the Kafka OAuth test. There are only Kafka 3 ARM binaries available, which are internally ran via docker, but the OAuth test requires Kafka 2 for the broker setup. Release note: None
1 parent ab13de5 commit a6ac637

File tree

3 files changed

+196
-188
lines changed

3 files changed

+196
-188
lines changed

pkg/cmd/roachtest/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ func MachineTypeToCPUs(s string) int {
741741
if _, err := fmt.Sscanf(s, "n2-standard-%d", &v); err == nil {
742742
return v
743743
}
744-
if _, err := fmt.Sscanf(s, "n2-standard-%d", &v); err == nil {
744+
if _, err := fmt.Sscanf(s, "t2a-standard-%d", &v); err == nil {
745745
return v
746746
}
747747
if _, err := fmt.Sscanf(s, "n2-highcpu-%d", &v); err == nil {

pkg/cmd/roachtest/cluster_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ func TestClusterMachineType(t *testing.T) {
168168
{"n2-standard-32", 32},
169169
{"n2-standard-64", 64},
170170
{"n2-standard-96", 96},
171+
{"t2a-standard-2", 2},
172+
{"t2a-standard-4", 4},
173+
{"t2a-standard-8", 8},
174+
{"t2a-standard-16", 16},
175+
{"t2a-standard-32", 32},
176+
{"t2a-standard-48", 48},
171177
}
172178
for _, tc := range testCases {
173179
t.Run(tc.machineType, func(t *testing.T) {

0 commit comments

Comments
 (0)