-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
[bug]: noiseJSON in schema resolver throws error in case of empty noise string #1113
Comments
@AkashKumar7902 Please look into this issue. Try replicating it and resolve the bug. Please correct log too there is a miss spelt word. |
@shivamsouravjha can you share the recorded test..? And have you used keploy-config? if yes please share that too. |
@charankamarapu the misspelt word was me debugging to exact line. I didn't use the keploy-config.Also test-1 looked like
|
And also I don't think when we normally do test command, schema resolvers will not be used right..? @shivamsouravjha |
Please assign me this issue |
Have done so @charankamarapu , @AkashKumar7902 should just run the |
@AkashKumar7902 I guess we missed to add null or some check in case of schema resolver changes. Please go through it. |
hey @shivamsouravjha, ☁ express-mongoose [main] ⚡ keploy serve -c "npm test" --delay 10
[sudo] password for akash:
▓██▓▄
▓▓▓▓██▓█▓▄
████████▓▒
▀▓▓███▄ ▄▄ ▄ ▌
▄▌▌▓▓████▄ ██ ▓█▀ ▄▌▀▄ ▓▓▌▄ ▓█ ▄▌▓▓▌▄ ▌▌ ▓
▓█████████▌▓▓ ██▓█▄ ▓█▄▓▓ ▐█▌ ██ ▓█ █▌ ██ █▌ █▓
▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌ ██ █▓ ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀ █▓█
▓▌ ▐█▌ █▌
▓
version: 2.0.0-alpha47
🐰 Keploy: 2023-11-17T18:37:19+05:30 INFO cmd/serve.go:60 {"keploy test and mock path": "/home/akash/Desktop/githubrepo/samples-typescript/express-mongoose/keploy", "keploy testReport path": "/home/akash/Desktop/githubrepo/samples-typescript/express-mongoose/keploy/testReports"}
🐰 Keploy: 2023-11-17T18:37:23+05:30 INFO hooks/loader.go:748 keploy initialized and probes added to the kernel.
🐰 Keploy: 2023-11-17T18:37:23+05:30 INFO proxy/proxy.go:277 Java detected and CA already exists {"path": "/usr/lib/jvm/java-11-openjdk-amd64/lib/security/cacerts"}
🐰 Keploy: 2023-11-17T18:37:24+05:30 INFO proxy/proxy.go:277 Java detected and CA already exists {"path": "/usr/lib/jvm/java-11-openjdk-amd64/lib/security/cacerts"}
🐰 Keploy: 2023-11-17T18:37:24+05:30 INFO proxy/proxy.go:437 Keploy has hijacked the DNS resolution mechanism, your application may misbehave in keploy test mode if you have provided wrong domain name in your application code.
🐰 Keploy: 2023-11-17T18:37:24+05:30 INFO proxy/proxy.go:451 Proxy started at port:16789
🐰 Keploy: 2023-11-17T18:37:24+05:30 INFO proxy/proxy.go:608 starting DNS server at addr :16789
2023/11/17 18:37:24 🐰 Keploy:connect to http://localhost:6789/ for GraphQL playground
> NodeMongo@1.0.0 test
> echo "Error: no test specified" && exit 1
Error: no test specified
🐰 Keploy: 2023-11-17T18:37:25+05:30 ERROR hooks/launch.go:526 userApplication failed to run with the following error. Please check application logs {"error": "exit status 1"}
🐰 Keploy: 2023-11-17T18:37:25+05:30 INFO hooks/loader.go:384 Exiting keploy program gracefully.
🐰 Keploy: 2023-11-17T18:37:25+05:30 INFO hooks/loader.go:434 eBPF resources released successfully...
🐰 Keploy: 2023-11-17T18:37:25+05:30 INFO proxy/proxy.go:1023 Dns server stopped
🐰 Keploy: 2023-11-17T18:37:25+05:30 INFO proxy/proxy.go:1025 proxy stopped... |
keploy/samples-typescript#27 checkout to this branch |
Is there an existing issue for this?
Current behavior
Steps to reproduce
Environment
None
Version
Cloud
Repository
keploy
The text was updated successfully, but these errors were encountered: