Skip to content

Conversation

@andrross
Copy link
Member

Parameterized tests will output test names that include double quotes in the test case, such as:

./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"

The nested double quotes do not work appropriately when trying to run the command. This avoids that problem by using single quotes.

Check List

  • Functionality includes testing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.

Signed-off-by: Andrew Ross <[email protected]>
@andrross andrross requested a review from a team as a code owner June 16, 2025 22:19
@github-actions
Copy link
Contributor

✅ Gradle check result for 1420dd2: SUCCESS

@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.76%. Comparing base (7b5ebf2) to head (1420dd2).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18533      +/-   ##
============================================
+ Coverage     72.71%   72.76%   +0.04%     
- Complexity    68138    68166      +28     
============================================
  Files          5540     5540              
  Lines        313384   313384              
  Branches      45473    45473              
============================================
+ Hits         227892   228048     +156     
+ Misses        66924    66813     -111     
+ Partials      18568    18523      -45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrross andrross merged commit 225b0f8 into opensearch-project:main Jun 17, 2025
34 of 35 checks passed
@andrross andrross deleted the repro-single-quote branch June 17, 2025 15:28
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 17, 2025
Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 225b0f8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
andrross pushed a commit that referenced this pull request Jun 18, 2025
Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.


(cherry picked from commit 225b0f8)

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.

Signed-off-by: Andrew Ross <[email protected]>Signed-off-by: TJ Neuenfeldt <[email protected]>
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.

Signed-off-by: Andrew Ross <[email protected]>
tandonks pushed a commit to tandonks/OpenSearch that referenced this pull request Aug 5, 2025
Parameterized tests will output test names that include double quotes in
the test case, such as:

```
./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RecoveryWhileUnderLoadIT" -Dtests.method="testRecoverWhileUnderLoadWithDerivedSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}"
```

The nested double quotes do not work appropriately when trying to run
the command. This avoids that problem by using single quotes.

Signed-off-by: Andrew Ross <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants