Comments (10)
@edwardsph thanks for the heads up. here's the link to the maven lib that we depend on: https://github.com/oracle/graaljs/blob/master/CHANGELOG.md#version-2310 to quote:
what are the main blockers you see ? I will need some time to investigate.
from karate.
saving screenshot for future reference
from karate.
Perhaps I was just getting the maven coordinates wrong but in my first few attempts I was just getting time outs when running tests. That is normally what I see when I have mismatched modules. I will try again tomorrow with the above for a guide. Thanks
from karate.
I have found a solution. The problem, as you pointed out above, is that the maven coordinates have changed with version 23.1.0. As such I had to exclude the graal dependencies from Karate and include the new ones directly.
<dependency>
<groupId>io.karatelabs</groupId>
<artifactId>karate-core</artifactId>
<version>1.5.0.RC3</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
<exclusion>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
</exclusion>
<exclusion>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>23.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>23.1.2</version>
<type>pom</type>
<scope>runtime</scope>
</dependency>
Once the coordinates in Karate are updated, I think I will be able to drop the exclusion and future compatibility issues between Quarkus and Karate can be resolved as before.
from karate.
thanks @edwardsph for the update. I'm seriously going to identify an alternative to graal, will keep you posted
I see that they have started 2 versions of even the maven JARs. one is js
and the other is js-community
I'm wondering if you are aware of what the difference is
from karate.
It appears to be about licensing issues. From https://github.com/oracle/graaljs?tab=readme-ov-file#maven-artifact:
Language and tool dependencies use the GraalVM Free Terms and Conditions (GFTC) license by default. To use community-licensed versions instead, add the -community suffix to each language and tool dependency
from karate.
@edwardsph thanks.
from karate.
Related Issues (20)
- Karate contains only shortcut fails in v1.4.1 HOT 4
- Schema validation with dynamic keys HOT 3
- How to call Json Object as a Parameter in Karate feature HOT 1
- Schema validation doesn't support optional objects HOT 1
- Scenarios should be referenced by their name rather than line number
- Karate Robot cannot handle the ‘>’ character, yield org.graalvm.polyglot.PolyglotException: Invalid key code HOT 4
- karate.abort() response status == 500 HOT 3
- Karate robot cannot handle panes with "/" in name. Very niche problem HOT 1
- Variable reference lost after calling a scenario in separate feature HOT 3
- Not able to karate test case, getting issue HOT 1
- Karate summary reports not showing all tested features HOT 1
- [karate 1.4.1] OOM when load testing with mock for several minutes HOT 4
- Add Karate configuration option to disable the "no features or scenarios found" assertion HOT 1
- Does karate gating support Java DSL ? HOT 2
- Mutual SSL documented the wrong way HOT 3
- How to switch from Java selenium webdriver to Karate driver HOT 1
- Missing header in spite of "configure headers" HOT 5
- afterScenario hook not running when scenario fails HOT 1
- File upload is not working when using Web driver when running test on Sauce Lab or Remote Grid HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karate.