Skip to content

Add pendingTestCase command and use it.#3143

Merged
fisx merged 9 commits intodevelopfrom
pendify-tests
Mar 13, 2023
Merged

Add pendingTestCase command and use it.#3143
fisx merged 9 commits intodevelopfrom
pendify-tests

Conversation

@fisx
Copy link
Contributor

@fisx fisx commented Mar 13, 2023

This should make life slightly more bearable for everybody including concourse, while still allowing to run the pending tests locally by changing the definition to pendingTestCase = testCase.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Mar 13, 2023
@fisx
Copy link
Contributor Author

fisx commented Mar 13, 2023

@akshaymankar I know you're opposed to this, but I don't think it's a sustainable situation that we have to run the test suite 2-3 times consistently every time we want to get a PR green. With pendingTestCase, we can keep track of where we need to fix things, while not being in the way of everybody else.

Please please please say ok!

@akshaymankar
Copy link
Member

akshaymankar commented Mar 13, 2023

What process do you imagine around this? When we mark something as pending, how and when does it get addressed?

@fisx
Copy link
Contributor Author

fisx commented Mar 13, 2023

What process do you imagine around this? When we mark something as pending, how and when does it get addressed?

same process as now, only we don't disrupt everybody else: somebody picks it up and fixes it as time permits.

i've also added a make rule to list pending tests, and a shell variable to run them anyway. the important thing is that we don't set this shell variable on concourse. maybe we can set it in a pipeline where we build release artefacts?

@fisx
Copy link
Contributor Author

fisx commented Mar 13, 2023

maybe we can set it in a pipeline where we build release artefacts?

if you want to pair on this let me know.

@fisx fisx mentioned this pull request Mar 13, 2023
2 tasks
fisx added 3 commits March 13, 2023 11:08
This should make life slightly more bearable for everybody including
concourse, while still allowing to run the pending tests locally by
changing the definition to `pendingTestCase = testCase`.
Makefile Outdated
./dist/brig-index reset --elasticsearch-index directory_test2 --elasticsearch-server http://localhost:9200 > /dev/null
@echo "brig-index reset currently does not work, see https://github.com/wireapp/wire-server/pull/3114"
# ./dist/brig-index reset --elasticsearch-index directory_test --elasticsearch-server http://localhost:9200 > /dev/null
# ./dist/brig-index reset --elasticsearch-index directory_test2 --elasticsearch-server http://localhost:9200 > /dev/null
Copy link
Member

Choose a reason for hiding this comment

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

please rebase on develop; this change should not be necessary anymore.

@fisx
Copy link
Contributor Author

fisx commented Mar 13, 2023

integration tests pass locally. i don't know why concourse doesn't run them on this PR.

@fisx fisx merged commit 26dd4ee into develop Mar 13, 2023
@fisx fisx deleted the pendify-tests branch March 13, 2023 13:45
battermann pushed a commit that referenced this pull request Mar 15, 2023
* Add `flakyTestCase` command and use it.

This should make life slightly more bearable for everybody including
concourse, while still allowing to run the pending tests locally by
setting `RUN_FLAKY_TESTS=1`.

* Make sanitize-pr faster by only looking at changed files.
lepsa pushed a commit to lepsa/wire-server that referenced this pull request Nov 28, 2023
* Add `flakyTestCase` command and use it.

This should make life slightly more bearable for everybody including
concourse, while still allowing to run the pending tests locally by
setting `RUN_FLAKY_TESTS=1`.

* Make sanitize-pr faster by only looking at changed files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants