Skip to content

Conversation

@VladoLavor
Copy link
Collaborator

No description provided.

if !pass {
b.Fatal("one or more memory thresholds was exceeded")
b.Errorf("one or more memory thresholds was exceeded")
b.FailNow()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference?

func (*B) Fatalf

Fatalf is equivalent to Logf followed by FailNow.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say none, I was just trying to see if GA thinks the same
.
The thing is that the github workflow passes even if the test fails, for example

--- FAIL: BenchmarkAPIMemory
    memory_api_test.go:158: one or more memory thresholds was exceeded
    vpptest.go:225: VPP stopped
FAIL
exit status 1
FAIL	go.fd.io/govpp/test/memory	287.375s
FAILED! (exit code: 1)

In https://github.com/FDio/govpp/actions/runs/18878245769/job/53873795524
But the workflow is marked green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants