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

Non-supported selectors hang on Linux #15

Open
cburgmer opened this issue Mar 10, 2020 · 1 comment
Open

Non-supported selectors hang on Linux #15

cburgmer opened this issue Mar 10, 2020 · 1 comment

Comments

@cburgmer
Copy link

Selectors not understood by the PathParser make PathParser.parse hang on Linux.

To reproduce:

$ docker run --rm -it swift
$ git clone https://github.com/cburgmer/SwiftPath.git
$ cd SwiftPath/
$ git checkout hang-on-linux
$ swift test --enable-test-discovery
... crickets ...

Judging by CPU usage it looks like an endless loop somewhere inside.

Expected

For running https://github.com/cburgmer/json-path-comparison I need to be able to execute an implementation in Ubuntu via Docker. This issue needs to be solved before including SwiftPath in the comparison.

@g-mark
Copy link
Owner

g-mark commented Mar 11, 2020

Got it - thanks, @cburgmer.

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

No branches or pull requests

2 participants