Commit graph

14 commits

Author SHA1 Message Date
GitLab Bot
b3cd77e904 Add latest changes from gitlab-org/gitlab@master 2020-05-04 21:09:41 +00:00
GitLab Bot
3795b229ab Add latest changes from gitlab-org/gitlab@master 2020-05-01 00:09:59 +00:00
GitLab Bot
a89cb5cbdd Add latest changes from gitlab-org/gitlab@master 2020-02-06 21:08:48 +00:00
GitLab Bot
01226c755d Add latest changes from gitlab-org/gitlab@master 2020-01-13 00:08:18 +00:00
GitLab Bot
80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Peter Leitzen
510d03fec2 QA: Prefer flat_map over map + flatten 2019-07-22 22:29:14 +00:00
Mark Lapierre
7d97102f72 Run tests in parallel via parallel_tests
Uses the parallel_tests gem to execute tests in multiple processes
simultaneously on the same machine.

Adds the `--parallel` CLI option that instructs the QA framework
to use the parallel_tests executable.

Tests need access to global state contained in `Runtime::Scenario`
so when `--parallel` is invoked `Runtime::Scenario` is serialized
to an environment variable, which is passed to parallel_tests,
and then deserialized in `spec_helper`.
2019-07-09 15:40:46 +00:00
Mark Lapierre
cfe0043d54 Test push limit with admin user
Uses `:requires_admin` metadata to specify that a test needs
an admin user.

Sets the push file size limit test to require an admin user.

With an admin access token set as the env var
GITLAB_QA_ADMIN_ACCESS_TOKEN, the push size
limit test now only uses the API and CLI
2019-06-18 03:37:05 +00:00
Thong Kuah
f38f160a1b Enable RSpec/ExampleWording cop 2019-04-12 10:27:19 +00:00
Mark Lapierre
c6a6b8a24e Skip contexts in quarantine
This avoids running before/after blocks for tests that are in quarantine
2019-03-11 11:50:09 +00:00
Mark Lapierre
765ca40d65 Add e2e test of push over SSH over Git protocol v2
Adds a new end-to-end test to check that Git protocol v2 can be used to
push over SSH.

Includes a change in Git::Repository to use Runtime::Env.debug? to
enable logging instead of .verbose?
2018-11-07 12:16:17 -05:00
Mark Lapierre
03ee488f93 Allow the registration e2e test to be skipped
If SIGNUP_DISABLED is true skip any tests with a context
:skip_signup_disabled. The context is set for the registration tests.
This allows the tests to be skipped when run on the staging, which
doesn't allow registration
2018-10-08 15:04:08 -04:00
Rémy Coutable
dd85ea6a9d
[QA] Fix arguments passed to RSpec::Core::Runner
- When -t or --tag are passed, we shouldn't exclude the :orchestrated tag
- When test path is passed, we shouldn't append the default test path

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-09-07 00:55:07 +02:00
Rémy Coutable
144b017d77
[QA] Fix Specs::Runner that would always excluding the orchectsrated tag
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-09-04 19:34:12 +02:00