Skip to content

Commit 74b704b

Browse files
izeyesnicoll
authored andcommitted
Add note for SPRING_PROFILES_ACTIVE in contributing guide
See gh-24478
1 parent f4ce82d commit 74b704b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CONTRIBUTING.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ added after the original pull request but before a merge.
6767
* Add some Javadocs.
6868
* A few unit tests would help a lot as well -- someone has to do it.
6969
* Verification tasks, including tests and Checkstyle, can be executed
70-
by running `./gradlew check` from the project root.
70+
by running `./gradlew check` from the project root. Note that `SPRING_PROFILES_ACTIVE`
71+
environment variable might affect the result of tests, so in that case, you can prevent
72+
it by running `unset SPRING_PROFILES_ACTIVE` before running the task.
7173
* If no-one else is using your branch, please rebase it against the current master (or
7274
other target branch in the main project).
7375
* When writing a commit message please follow https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],

0 commit comments

Comments
 (0)