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

debugging intermittent failures #248

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

AnkitCLI
Copy link
Contributor

@AnkitCLI AnkitCLI commented Mar 20, 2024

This PR is related to solve the intermittent issue in google cloud repo due to spinning indicator.

@AnkitCLI AnkitCLI force-pushed the debug_intermittent_issues branch from 147830c to aad1327 Compare March 22, 2024 04:04
@AnkitCLI AnkitCLI marked this pull request as ready for review March 22, 2024 04:05
@@ -126,7 +126,8 @@ public static void waitTillConnectionDataLoadingCompletes(long timeoutInSeconds)
* Example : For GCS pass actual bucket name as parameter.
*/
private static void selectConnectionDataRow(String dataRow) {
waitTillConnectionDataLoadingCompletes(ConstantsUtil.DEFAULT_TIMEOUT_SECONDS);
// waitTillConnectionDataLoadingCompletes(ConstantsUtil.DEFAULT_TIMEOUT_SECONDS);
WaitHelper.waitForElementToBeClickable(CdfConnectionLocators.searchDirectoryInput, 120);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a named constant instead of 120.
Also, please remove the commented line.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferably use ConstantsUtil.DEFAULT_TIMEOUT_SECONDS which is 180.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@AnkitCLI AnkitCLI force-pushed the debug_intermittent_issues branch from aad1327 to d8e1c98 Compare March 27, 2024 04:15
@itsankit-google itsankit-google merged commit 65ba38c into cdapio:develop Mar 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants