Skip to content

Conversation

@karlseguin
Copy link
Collaborator

#425

Add a few integration tests for the TCP server which are fast enough to be run as part of the unit tests (one of the new tests covers the above issue).

lightpanda-io#425

Add a few integration tests for the TCP server which are fast enough to be run
as part of the unit tests (one of the new tests covers the above issue).
@krichprollsch krichprollsch merged commit a2932f0 into lightpanda-io:main Feb 19, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2025
@krichprollsch
Copy link
Member

@karlseguin this PR breaks make unittest on my linux.

I'm adding the tests on the ci test suite.

server: mask (0.01ms)
error(server): Client Processing Error: error.NotFound

server: 404 (11.13ms)
thread 1220960 panic: attempt to use null value

================================================================================
"server: get /json/version" - WouldBlock
================================================================================
???:?:?Unwind error at address `: 0x1ed2081 in ??? ():0x
1ec16ff` (error.InvalidDebugInfo), trace may be incomplete

Panicked during a panic. Aborting.
???:?:?: 0x1eb6cb0 in ??? ()
unittest
└─ run test failure
error: the following command terminated unexpectedly:
/home/pierre/wrk/browser/.zig-cache/o/dbbef7fdd1df483910a085b9de2303f9/test 
Build Summary: 2/4 steps succeeded; 1 failed
unittest transitive failure
└─ run test failure
   └─ zig test Debug native cached 28ms MaxRSS:37M
      ├─ options cached
      └─ options (reused)
error: the following build command failed with exit code 1:
/home/pierre/wrk/browser/.zig-cache/o/7a9935469ab9b5af96ef2ed0fef6c52a/build /usr/local/zig-0.13.0/zig /home/pierre/wrk/browser /home/pierre/wrk/browser/.zig-cache /home/pierre/.cache/zig --seed 0xa09a1bbb -Z9b5359a0c97c1386 unittest -freference-trace --summary all
make: *** [Makefile:97: unittest] Error 1

@krichprollsch
Copy link
Member

Here is the PR: #436
I have a different trace on ci: https://github.com/lightpanda-io/browser/actions/runs/13418957930/job/37486710865?pr=436

@karlseguin karlseguin deleted the server_tests branch February 20, 2025 04:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants