mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
proc: disable flaky tests on windows/arm64 (#3328)
Disable some tests on windows/arm64 that are flaky.
This commit is contained in:
committed by
GitHub
parent
6605d46758
commit
6d88b52509
@ -21,6 +21,7 @@ Tests skipped by each supported backend:
|
|||||||
* 1 broken
|
* 1 broken
|
||||||
* 3 see https://github.com/go-delve/delve/issues/2768
|
* 3 see https://github.com/go-delve/delve/issues/2768
|
||||||
* 1 upstream issue
|
* 1 upstream issue
|
||||||
* windows/arm64 skipped = 2
|
* windows/arm64 skipped = 5
|
||||||
|
* 3 broken
|
||||||
* 1 broken - cgo stacktraces
|
* 1 broken - cgo stacktraces
|
||||||
* 1 broken - step concurrent
|
* 1 broken - step concurrent
|
||||||
|
|||||||
@ -597,6 +597,7 @@ func TestNextGeneral(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestNextConcurrent(t *testing.T) {
|
func TestNextConcurrent(t *testing.T) {
|
||||||
|
skipOn(t, "broken", "windows", "arm64")
|
||||||
testcases := []nextTest{
|
testcases := []nextTest{
|
||||||
{8, 9},
|
{8, 9},
|
||||||
{9, 10},
|
{9, 10},
|
||||||
@ -632,6 +633,7 @@ func TestNextConcurrent(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestNextConcurrentVariant2(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
|
// Just like TestNextConcurrent but instead of removing the initial breakpoint we check that when it happens is for other goroutines
|
||||||
testcases := []nextTest{
|
testcases := []nextTest{
|
||||||
{8, 9},
|
{8, 9},
|
||||||
@ -1513,6 +1515,7 @@ func TestBreakpointCounts(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHardcodedBreakpointCounts(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) {
|
withTestProcess("hcbpcountstest", t, func(p *proc.Target, grp *proc.TargetGroup, fixture protest.Fixture) {
|
||||||
counts := map[int64]int{}
|
counts := map[int64]int{}
|
||||||
for {
|
for {
|
||||||
|
|||||||
@ -3432,6 +3432,9 @@ func TestHaltPreventsAutoResume(t *testing.T) {
|
|||||||
// goroutine is hit the correct number of times and log points set in the
|
// goroutine is hit the correct number of times and log points set in the
|
||||||
// children goroutines produce the correct number of output events.
|
// children goroutines produce the correct number of output events.
|
||||||
func TestConcurrentBreakpointsLogPoints(t *testing.T) {
|
func TestConcurrentBreakpointsLogPoints(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
|
||||||
|
t.Skip("broken")
|
||||||
|
}
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
fixture string
|
fixture string
|
||||||
|
|||||||
Reference in New Issue
Block a user