Commit Graph

16 Commits

Author SHA1 Message Date
GitLab Bot 8858979899 Add latest changes from gitlab-org/gitlab@master 2022-02-16 06:12:24 +00:00
GitLab Bot 8bac8f55ba Add latest changes from gitlab-org/gitlab@master 2022-01-07 18:16:06 +00:00
GitLab Bot b7eed2ea49 Add latest changes from gitlab-org/gitlab@master 2021-05-11 06:10:29 +00:00
GitLab Bot 10eb15fe07 Add latest changes from gitlab-org/gitlab@master 2021-01-27 21:09:12 +00:00
GitLab Bot e32167eb63 Add latest changes from gitlab-org/gitlab@master 2020-12-15 21:09:53 +00:00
GitLab Bot c916c6f79b Add latest changes from gitlab-org/gitlab@master 2020-09-25 03:09:30 +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
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 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