-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Parse data from TRSS url #579
Conversation
39f5e71
to
9db2ee5
Compare
Grinder links:
|
command = "cmd.exe /c curl --silent --max-time 120 -L -k \"" + URL + "\" -o " + responseFilePath; | ||
} else { | ||
command = "curl --silent --max-time 120 -L -k "+ URL + " -o " + responseFilePath; | ||
} |
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.
A file is suggested to debug the problem. We should try to avoid using it in the fix if possible.
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.
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.
Thanks @annaibm . It looks like the fix is to add quotes around URL
. Do we need the following changes (L244 - L319)?
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 have removed changes from (L244 - L319) . The fix for constructing the curl command based on the operating system . Added quotes around the URL for Windows, while no quotes are used for Linux. Also added the -k option in the curl command.
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.
Grinder links:
x86_64_linux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42341/console
s390x_linux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42340/
ppc64_aix
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42338/console
aarch64_linux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42344/console
x86_64_windows
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42343/consoleFull
x86_64_mac
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42342/console
7230d24
to
5d6a876
Compare
src/org/testKitGen/TestDivider.java
Outdated
@@ -238,7 +246,7 @@ private Map<String, Integer> getDataFromTRSS() { | |||
} | |||
try (InputStream responseStream = process.getInputStream(); | |||
Reader responseReader = new BufferedReader(new InputStreamReader(responseStream))) { | |||
parseDuration(responseReader, map); | |||
parseDuration(responseReader, map); |
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.
Could you remove the extra tab?
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.
Removed the tab.
- TKG Parse data from TRSS url related:adoptium#558 Signed-off-by: Anna Babu Palathingal <[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.
LGTM
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.
LGTM. Thanks @annaibm !
related:#558