Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cpackget] Test fails in verbose(-v) mode #228

Open
soumeh01 opened this issue Nov 29, 2023 · 0 comments
Open

[cpackget] Test fails in verbose(-v) mode #228

soumeh01 opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@soumeh01
Copy link
Collaborator

Describe the bug
All the test passes when running in normal mode (i.e. Non verbose mode)
go test ./...

But when the tests are run in verbose mode, specific test fails
go test -v ./...

Failure log

=== RUN   TestEncodedProgres/test_encoded_progress
I: [I0:F"Testing",T10,P10]
I: [I0:P20,C2]
I: [I0:P30,C3]
I: [I0:P40,C4]
I: [I0:P50,C5]
I: [I0:P60,C6]
I: [I0:P70,C7]
I: [I0:P80,C8]
I: [I0:P90,C9]
I: [I0:P100,C10]
=== NAME  TestEncodedProgres
    encodedProgress_test.go:74: 
        	Error Trace:	C:/Sandbox/opensource/cpackget/cmd/utils/encodedProgress_test.go:74
        	Error:      	Should be true
        	Test:       	TestEncodedProgres
=== RUN   TestEncodedProgres/test_encoded_progress_with_write_interface
I: [I0:F"Testing",T31,P100]
=== NAME  TestEncodedProgres
    encodedProgress_test.go:89: 
        	Error Trace:	C:/Sandbox/opensource/cpackget/cmd/utils/encodedProgress_test.go:89
        	Error:      	Should be true
        	Test:       	TestEncodedProgres
--- FAIL: TestEncodedProgres (0.00s)

To Reproduce
Steps to reproduce the behavior:

  1. Run the cpackget test with command go test -v ./...
  2. See the test failing
    --- FAIL: TestEncodedProgres (0.00s)

Expected behavior
All tests should pass irrespective the tests are called in verbose or non verbose mode

Environment (please complete the following information):

  • OS: windows/linux/darwin
@soumeh01 soumeh01 added the bug Something isn't working label Nov 29, 2023
@jkrech jkrech moved this to Todo in CMSIS-Toolbox 2.3.0 Dec 5, 2023
@jkrech jkrech changed the title Test fails in verbose(-v) mode [cpackget] Test fails in verbose(-v) mode Jan 9, 2024
@jkrech jkrech moved this to Todo in CMSIS-Toolbox 2.4.0 Feb 1, 2024
@jkrech jkrech moved this to Todo in CMSIS-Toolbox 2.5.0 Apr 16, 2024
@jkrech jkrech moved this to Todo in CMSIS-Toolbox 2.6.0 Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants