Stan Ryzhov
41d3dffa9b
test(e2e): Add multi-scope grants test ( #4446 )
2024-03-01 12:53:42 -05:00
Michael Li
2e55ae72ba
test(e2e): Add test for alias ( #4436 )
2024-02-29 15:52:27 -08:00
Michael Li
fee2b99ade
refact(e2e): Create vault-generic credential library helper method ( #4437 )
...
* refact(e2e): Create vault-generic credential library helper method
* fixup! refact(e2e): Create vault-generic credential library helper method
2024-02-23 15:46:11 -05:00
Michael Li
694db71004
fix(e2e): Add extra buffer in -session-max-seconds test again ( #4440 )
2024-02-23 10:33:43 -05:00
Stan Ryzhov
2497078df6
test(e2e): Add ssh log for failed requests ( #4431 )
2024-02-20 14:37:14 -05:00
Michael Li
4d344edecc
test(e2e): Add extra buffer in -session-max-seconds test ( #4428 )
...
This test would sometimes fail due to the diff sometimes exceeding `sessionMaxSeconds+1` by less than 1 second.
2024-02-20 11:09:36 -05:00
Michael Li
a48698a315
test(e2e): Add test to check target's -session-max-seconds ( #4411 )
...
* test(e2e): Add test to check target's -session-max-seconds
* test(e2e): Add additional test to check new connections are rejected
* test(e2e): Fix test check
2024-02-20 09:26:55 -05:00
Stan Ryzhov
7de0699a0d
test(e2e): Verify long-lasting scripts complete successfully on tcp targets ( #4423 )
2024-02-16 15:22:47 -05:00
Jeff Mitchell and Damian Debkowski
35cef97bd4
Linter fixes PR 3 ( #4415 )
...
* Linter fixes
* fix(bsr): update test to register TEST protocol once
---------
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com >
2024-02-16 08:30:16 -05:00
Stan Ryzhov and Michael Li
a22459342b
test(e2e): Add option to wait for multiple sessions ( #4410 )
...
Co-authored-by: Michael Li <michael.li@hashicorp.com >
2024-02-14 15:02:41 -05:00
Michael Li
c72c614200
test(e2e): Add test to validate session connection limits ( #4395 )
...
* test(e2e): Move default client port test to its own file
* test(e2e): Add test to validate session connection limits
2024-02-13 16:28:49 -05:00
Michael Li
61fb079371
test(e2e): Add test for authentication when no keyring is available ( #4378 )
2024-02-09 13:07:17 -05:00
Johan Brandhorst-Satzkorn
be252e3447
testing/e2e: add option to skip slow test ( #4380 )
2024-02-08 10:19:09 -08:00
Michael Li
4ebdd9458a
test(e2e): Fix error in migration test ( #4354 )
2024-02-06 11:54:29 -05:00
Johan Brandhorst-Satzkorn
c334ec700c
enos: support max_page_size in AWS scenarios ( #4352 )
2024-02-02 09:21:21 -08:00
Michael Milton
207d814135
testing/e2e: add auth method pagination tests ( #4333 )
...
* testing/e2e: add auth method pagination tests
* list with scope, spell check
* removed unnecessary recursion
2024-02-01 12:46:43 -05:00
Johan Brandhorst-Satzkorn
7fe9198bce
testing/e2e: paginate managed groups ( #4315 )
2024-01-29 13:56:25 -08:00
Johan Brandhorst-Satzkorn
0bddb346e5
testing/e2e: add account pagination test ( #4314 )
2024-01-29 13:22:21 -08:00
Johan Brandhorst-Satzkorn
d47d2ad2e4
testing/e2e: add auth token pagination tests ( #4311 )
2024-01-29 11:51:40 -08:00
Johan Brandhorst-Satzkorn
ada0c273b0
testing/e2e: add scope pagination test ( #4233 )
2024-01-16 09:22:28 -08:00
Johan Brandhorst-Satzkorn
c2a9723a10
testing/e2e: add group pagination test ( #4234 )
2024-01-16 09:22:16 -08:00
Johan Brandhorst-Satzkorn
0bb9e745b7
testing/e2e: add role pagination test ( #4232 )
2024-01-15 13:30:49 -08:00
Johan Brandhorst-Satzkorn
eb78943cdb
testing/e2e: add host catalogs end to end test ( #4214 )
2024-01-05 07:43:21 -08:00
Michael Li
3a0c1b8e9f
test(e2e): Add test for search ( #4196 )
...
* test(e2e): Add test for search
* CR
* CR
2024-01-05 07:43:21 -08:00
Michael Li
d9cf0be0bc
test(e2e): Add test to paginate users ( #4195 )
...
* test(e2e): Use API call to decrease runtime
* test(e2e): Add test to paginate users
2024-01-05 07:43:21 -08:00
Michael Li
69a6f664de
test(e2e): Add test for paginating host sets ( #4190 )
2024-01-05 07:43:21 -08:00
Michael Li
3bf925ca32
test(e2e): Decrease rate limit in config ( #4183 )
2024-01-05 07:43:21 -08:00
Michael Li
3e4feac261
test(e2e): Add test for pagination of hosts
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
6c9bc84790
testing/e2e: add credential store pagination test
2024-01-05 07:43:20 -08:00
Michael Milton
335ccbfdaf
Session pagination e2e tests ( #4134 )
...
* Tests session pagination over CLI
* session pagination tests
* Add cleanup and fix api test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
1411eeafff
testing/e2e: add credential library pagination test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
9047d5b22a
testing/e2e: add credential store API helper
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
7dce5396f5
testing/e2e: add API helper for u/pw credentials
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
0b1217fdb6
testing/e2e: check returned targets in pagination
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
d9edd9dda6
testing/e2e: add credential pagination test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn and Michael Li
6198fe279e
Target pagination e2e test ( #4010 )
...
* testing/e2e: Use a separate config file for database init
The other config file contains templated parameters, which was causing
errors when loading the config file, even though the values were never
used.
* testing/e2e: add target pagination test
Exercises target pagination both over the CLI and the API. These tests
run in <10s on my machine, though they each involve creating 1000
targets (with current defaults).
---------
Co-authored-by: Michael Li <michael.li@hashicorp.com >
2024-01-05 07:43:20 -08:00
Michael Li
0adfe2d5a3
test(e2e): Fix syntax ( #4164 )
2023-12-15 15:15:03 -05:00
Michael Li
b696f1653d
test(e2e): Add worker ip to aws tests ( #4153 )
2023-12-14 13:48:29 -05:00
Michael Li
600a2dff24
test(e2e): Add rate limit test ( #4135 ) ( #4143 )
...
* test(e2e): Add rate limit test (#4135 )
(cherry picked from commit 9bf350d622a14ea39feaca29861c738a5deff9bb)
* test(e2e): Modify rate limit test due to timing issues (#4145 )
The rate limit test was running into failures due to some hard-coded assumptions (waiting for a command to last longer than 3 seconds to determine if the CLI auto-retried). This change makes it more resilient.
(cherry picked from commit 3535f15922c37fda5457f02cf8ae894203359042)
2023-12-13 10:17:04 -05:00
Michael Li
3cae4933c0
test(e2e): Update migration test with additional resources ( #4069 )
...
* test(e2e): Add descriptions to resources
* test(e2e): Add more resources to migration test
2023-11-30 09:38:07 -05:00
Michael Li
093f889333
test(e2e): Add test for LDAP ( #4061 )
...
* test(e2e): Add test for LDAP
This adds the infrastructure and a test for an LDAP workflow
* test(e2e): Refactor test packages
This reduces the number of scenarios needed
* CR
* fixup! test(e2e): Add test for LDAP
2023-11-28 16:25:26 -05:00
Michael Li
6ef015e1d1
test(e2e): Use docker mirror when pulling image ( #4045 )
2023-11-15 14:58:40 -05:00
Michael Li
36d0e5ede0
test(e2e): Add test that connects to target using go ssh library ( #4040 )
...
* test(e2e): Add test that connects to target using golang ssh library
* fixup! test(e2e): Add test that connects to target using golang ssh library
2023-11-14 14:54:48 -05:00
Michael Li
8e83cc87d3
test(e2e): Add some other commands to execute over localhost ( #4016 )
2023-11-07 16:59:52 -05:00
Michael Li
466b5e20ea
test(e2e): Add support for -additional-valid-principals test ( #3966 )
...
* test(e2e): Remove unnecessary error checks
* test(e2e): Install docker cli in test runner
2023-10-31 17:06:14 -04:00
Michael Li
7d581abac7
test(e2e): Add check for vault worker filters ( #3859 )
2023-10-19 09:08:10 -04:00
Michael Li
609357c483
test(e2e): Add test for creating an auth method ( #3846 )
...
* test(e2e): Add test for creating an auth method
* CR: Add an additional check for user auto-creation
2023-10-17 09:41:42 -04:00
Michael Li
578d87081a
test(e2e): Add test with scp operations ( #3812 )
...
* chore(e2e): Allow ssh to targets to assist with debugging
* test(e2e): Add test with scp operations
* CR: Use io.CopyN to optimize memory allocation
This mitigates the need to allocate a 256K string
2023-10-10 14:55:51 -04:00
Michael Li
dc912e2a86
test: Update tests to account for deprecated features in 0.14.0 ( #3776 )
...
* chore: Fix comment typo
* test(e2e): Update to use new credential library type
* test(e2e): Update to use new field name
* test(bats): Remove tests that use deprecated subcommand
* chore: Update to 0.14.0
* test(credentiallibraries): Update to use new credential library type
* doc: Add deprecation notices for 0.14.0
* fixup! doc: Add deprecation notices for 0.14.0
2023-09-26 10:33:53 -04:00
Michael Li
94dd9e84fe
test(e2e): Refactor vault setup method ( #3724 )
...
* refact(e2e): Pass in boundary-controller-policy to method
This allows any boundary-enterprise specific test packages to point to their own testdata directory
* test(e2e): Fix assertion statement
* refact(e2e): Move method call for clarity
2023-09-14 14:12:09 -04:00