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
Jeff Mitchell
4068829509
Merge pull request #4401 from hashicorp/jefferai-linter-fixes
...
Fix linter warnings, parts 1 and 2
2024-02-14 17:55:41 -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
Jeff Mitchell
25bce9e8ff
Fix linter warnings
2024-02-13 15:50:11 -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
Timothy Messier
1e51dbef4f
feat(test): Add docker images for additional postgres versions
2024-01-18 19:37:46 +00:00
Timothy Messier
e255284996
feat(test): Disable JIT for test database image
2024-01-18 19:37:46 +00: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
Timothy Messier
64995854a3
feat(dbtest): Allow host to be configurable ( #2538 )
...
Normally the tests are run on a host machine with a docker container for
the database. The docker container should be accessible via 127.0.0.1.
However there might be cases where the test execution is run in a docker
container, or the postgres server is configured to use a different
docker network, in which case the container would be accessible via some
other dns name or ip. In these cases, users can now set the TEST_DB_HOST
environment variable so the tests can connect to the postgres server.
2024-01-05 10:34:51 -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
Johan Brandhorst-Satzkorn
fa7813d800
testing: clarify tracing requirements ( #4063 )
...
I missed that you need to explicitly create a server
using http.DefaultServeMux.
2023-12-05 11:36:25 -08: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
Johan Brandhorst-Satzkorn
a89573b35f
subtypes,handlers: add runtime trace regions ( #4060 )
...
* subtypes,handlers: add runtime trace regions
The subtype.Filterable and handlers.ProtoToStruct functions
are costly and worth measuring whenever runtime tracing
is in use. This has almost no cost when tracing is not in use,
so there's little harm in having them in place.
* testing: Add TRACING.md
TRACING.md contains information about how to perform
Go runtime tracing of the Boundary application.
2023-11-27 13:37:04 -08: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