-
Notifications
You must be signed in to change notification settings - Fork 13
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
FISH-10299 Faces old-tests #121
Conversation
The TCK is written for Chrome 124.*, but the current version is 131. This commit upgrades the dependency, first using the selenium dev tools and then rewriting java test imports.
#!/bin/bash | ||
if [ JAVA_HOME = "" ] ; then | ||
#if [ JAVA_HOME = "" ] ; then | ||
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 | ||
fi | ||
#fi | ||
|
||
#echo "Downloading Faces TCK" | ||
#cd .. | ||
#mvn clean install -pl .,:tck-download,:jakarta-faces-tck | ||
#cd faces-tck | ||
|
||
#echo "Building old tck, expected time 3-7 minutes" | ||
#cd target/faces-tck-4.1.1/tck/old-tck | ||
#mvn clean install -Dtck.mode=platform -Dmojarra.noupdate=true -Dpayara.version=7.2024.1.Alpha2 -Dfaces.version=4.1.1 -pl :old-faces-tck-parent,:old-tck-build | tee ../../../old-tck.log | ||
#cd .. | ||
|
||
echo "Downloading Faces TCK" | ||
cd .. | ||
mvn clean install -pl .,:tck-download,:jakarta-faces-tck | ||
cd faces-tck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you intend to commit these changes?
This is a script which just runs mvn clean verify
and does nothing else.
If this is intentional I'd just delete the file as it's pointless.
If anything it's worse than pointless, as it will overwrite JAVA_HOME with an environment specific value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll move the notes to README and delete the script
I have raised a follow-up issue to address that this "old" TCK is currently hardcoded to run against the full version of Payara - you cannot run it against Web Profile. |
Co-authored-by: Andrew Pielage <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking, but that run-tck.sh script should probably be removed at this point
@Pandrex247 I updated README and deleted the script: #122 |
How I tested:
mvn clean install
)mvn clean install -Pjakarta-staging -T 16 -DskipTests -Dmaven.test.skip -Djavadoc.skip=true -Dsource.skip=true
From
/faces-tck
, run only the old part of the TCK:It takes more than 4 hours! The total number of tests is 5391. I suggest monitoring by storing the output to a file (faces-tck.log) and run
tail -F faces-tck.log | grep 'Number of tests completed:'
on another terminal.I solved unrelated issue with chrome version (CDP implementation), if running the whole test now gets further
Before this PR, the complete test failed in
Test - Faces 2.2 - Ajax
:With this PR, it fails later with timeout:
Running with
-Dmaven.exec.skipping="-Dtest.selenium=false"
it gets even to:The issue is