proc: disable flaky tests on windows/arm64 (#3328)

Disable some tests on windows/arm64 that are flaky.
This commit is contained in:
Alessandro Arzilli
2023-04-24 21:10:50 +02:00
committed by GitHub
parent 6605d46758
commit 6d88b52509
3 changed files with 8 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Tests skipped by each supported backend:
* 1 broken
* 3 see https://github.com/go-delve/delve/issues/2768
* 1 upstream issue
* windows/arm64 skipped = 2
* windows/arm64 skipped = 5
* 3 broken
* 1 broken - cgo stacktraces
* 1 broken - step concurrent

View File

@ -597,6 +597,7 @@ func TestNextGeneral(t *testing.T) {
}
func TestNextConcurrent(t *testing.T) {
skipOn(t, "broken", "windows", "arm64")
testcases := []nextTest{
{8, 9},
{9, 10},
@ -632,6 +633,7 @@ func TestNextConcurrent(t *testing.T) {
}
func TestNextConcurrentVariant2(t *testing.T) {
skipOn(t, "broken", "windows", "arm64")
// Just like TestNextConcurrent but instead of removing the initial breakpoint we check that when it happens is for other goroutines
testcases := []nextTest{
{8, 9},
@ -1513,6 +1515,7 @@ func TestBreakpointCounts(t *testing.T) {
}
func TestHardcodedBreakpointCounts(t *testing.T) {
skipOn(t, "broken", "windows", "arm64")
withTestProcess("hcbpcountstest", t, func(p *proc.Target, grp *proc.TargetGroup, fixture protest.Fixture) {
counts := map[int64]int{}
for {

View File

@ -3432,6 +3432,9 @@ func TestHaltPreventsAutoResume(t *testing.T) {
// goroutine is hit the correct number of times and log points set in the
// children goroutines produce the correct number of output events.
func TestConcurrentBreakpointsLogPoints(t *testing.T) {
if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
t.Skip("broken")
}
tests := []struct {
name string
fixture string