Skip to content

converted couchbase-3.2 test from groovy to java#8837

Merged
trask merged 2 commits into
open-telemetry:mainfrom
quinoant:fix-couchbase-3.2-tests
Jun 30, 2023
Merged

converted couchbase-3.2 test from groovy to java#8837
trask merged 2 commits into
open-telemetry:mainfrom
quinoant:fix-couchbase-3.2-tests

Conversation

@quinoant

Copy link
Copy Markdown
Contributor

related to #7195

@quinoant quinoant requested a review from a team June 29, 2023 21:40
@laurit laurit changed the title converted couchbase-3.1 test from groovy to java converted couchbase-3.2 test from groovy to java Jun 30, 2023
Comment on lines +7 to +11

/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There already is a copyright header on the top of the file

Suggested change
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the tip, slipped right by me

@mateuszrzeszutek

Copy link
Copy Markdown
Member

Thanks @quinoant !

static Collection collection;

@BeforeAll
static void setupSpec() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

setupSpec and cleanupSpec are spock conventions, for java tests we use setUp or setup and cleanUp, cleanup or tearDown

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for letting me know about the conventions, very helpful

@trask trask merged commit 93fc34e into open-telemetry:main Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants