Skip to content

Commit

Permalink
slack-vitess-r14.0.5: use dedicated larger runner (#113)
Browse files Browse the repository at this point in the history
* `slack-vitess-r14.0.5`: use dedicated larger runner

Signed-off-by: Tim Vaillancourt <[email protected]>

* fix fileNameFromPosition

Signed-off-by: Tim Vaillancourt <[email protected]>

* empty commit

Signed-off-by: Tim Vaillancourt <[email protected]>

* empty commit

Signed-off-by: Tim Vaillancourt <[email protected]>

---------

Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Aug 7, 2023
1 parent 10c8515 commit 5e942b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)
runs-on: ubuntu-20.04
runs-on:
group: vitess-ubuntu20

steps:
- name: Check if workflow needs to be skipped
Expand Down
3 changes: 2 additions & 1 deletion go/test/endtoend/reparent/newfeaturetest/reparent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package newfeaturetest
import (
"context"
"strconv"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -205,7 +206,7 @@ func TestFullStatus(t *testing.T) {

// fileNameFromPosition gets the file name from the position
func fileNameFromPosition(pos string) string {
return pos[0 : len(pos)-4]
return strings.Split(pos, ":")[0]
}

// rowNumberFromPosition gets the row number from the position
Expand Down

0 comments on commit 5e942b5

Please sign in to comment.