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

Excludes selenium tests in TeamCity #3001

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Conversation

ncordon
Copy link
Contributor

@ncordon ncordon commented Jun 22, 2022

What

Excludes selenium tests from TeamCity if flag passed. The idea is to have two steps in the build:

1. gradlew test -PexcludeSeleniumTests
2. gradlew test --tests LoadHtmlTest --tests LoadHtmlTestParameterized

Why

So that we are able to have a different docker image for 1. and 2. The reason for that is some tests in 1. need to span a new docker container (dependencies, neo4j itself, etc), which requires root containers, and 2. explicitly requires non root access for emulating Chrome browsers (for safety reasons)

@ncordon ncordon added 4.4 team-cypher-surface Cypher Surface team should review the PR labels Jun 22, 2022
@ncordon ncordon merged commit e5430f3 into 4.4 Jun 22, 2022
@ncordon ncordon deleted the 4.4-exclude-selenium-tests branch June 22, 2022 08:33
ncordon added a commit that referenced this pull request Jun 22, 2022
ncordon added a commit that referenced this pull request Jun 22, 2022
vga91 pushed a commit to vga91/neo4j-apoc-procedures that referenced this pull request Jun 24, 2022
vga91 pushed a commit to vga91/neo4j-apoc-procedures that referenced this pull request Jun 24, 2022
vga91 pushed a commit to vga91/neo4j-apoc-procedures that referenced this pull request Jun 29, 2022
gem-neo4j pushed a commit to gem-neo4j/neo4j-apoc-procedures that referenced this pull request Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.4 team-cypher-surface Cypher Surface team should review the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants