sberyozkin
268107aec7
Merge pull request #7294 from vsevel/write_secret
...
Add Vault write and delete secret Fixes #7155
2020-02-21 23:36:20 +00:00
Vincent Sevel
65e98b2681
Add Vault write and delete secret
2020-02-21 22:09:28 +01:00
Michal Karm Babacek
91e2d80c04
Pulls System.clearProperty from stuartwdouglas:graceful-shutdown
2020-02-21 10:50:50 +01:00
Georgios Andrianakis
2cea862dba
Show a proper error message when @Inject is used in NativeTest
...
Fixes : #7300
2020-02-21 00:30:41 +02:00
Manyanda Chitimbo
8e201f7d18
Merge pull request #7255 from geoand/prod-more-test-additional-deps
...
Add support for configuring additional dependencies in @QuarkusProdModeTest
2020-02-18 19:21:09 +01:00
Guillaume Smet
7a2deb967c
Merge pull request #7214 from stuartwdouglas/7203
...
Change the way test failures are reported
2020-02-18 17:43:03 +01:00
Georgios Andrianakis
e98b2da33a
Add support for configuring additional dependencies in @QuarkusProdModeTest
2020-02-18 15:38:55 +02:00
Georgios Andrianakis
ef99352caf
Introduce QuarkusProdModeTest
2020-02-18 09:10:28 +02:00
Geoffrey De Smet
329c4c57ea
Fix "QuarkusUnitTest: assertException shadows out setExpectedException"
2020-02-17 09:23:44 +01:00
Stuart Douglas
b3db9577fc
Change the way test failures are reported
...
If boot fails report it on the first test execution,
then skip all subsequent tests.
Fixes #7203
2020-02-16 09:22:27 +11:00
George Gastaldi
aff040f663
Merge pull request #5596 from gastaldi/remove_substrate_test
...
Removes deprecated code
2020-02-13 19:04:11 -03:00
Stuart Douglas
47573d639b
Merge pull request #7162 from aloubyansky/bootstrap-maven-resolver-cleanup
...
Cleanup in the bootstrap code around maven resolver and workspace discovery
2020-02-14 07:53:26 +11:00
George Gastaldi
ca6fd47871
Removes deprecated SubstrateTest and DisabledOnSubstrate
2020-02-13 11:17:21 -03:00
Alexey Loubyansky
e96f91cb59
A bit of a cleanup in the bootstrap code around maven resolver and workspace discovery:
...
* a fallback to resolving an application model from the classpath was removed, if the execution flow reaches that point something is definitely wrong and most probably will end up failing later;
* resolved workspace discovery in BootstrapAppModelFactory is cached now to avoid loading it multiple times for the same factory (helps optimize launching apps in dev mode).
2020-02-13 11:01:08 +01:00
Gwenneg Lepage
8951e30fe0
Fix blocker issues detected with SonarCloud
2020-02-13 00:43:01 +01:00
George Gastaldi
dbe63b17cf
Merge pull request #7067 from rsvoboda/polish.2020-02-07
...
Chunk of code polish commits
2020-02-10 13:18:09 -03:00
Stuart Douglas
f66b65e98f
Reset the TCCL for each test
...
This makes sure the correct TCCL is set if there is a mix
of @QuarkusTest and normal tests
2020-02-10 09:05:35 +11:00
Rostislav Svoboda
45d4475072
Make inner classes static to avoid parent class linkage overhead
2020-02-07 12:25:18 +01:00
Alexey Loubyansky
cbf9ca0277
Merge pull request #7053 from stuartwdouglas/beforeall-invocation
...
@BeforeAll invoked too many times
2020-02-07 12:17:34 +01:00
Stuart Douglas
2b2b151376
@BeforeAll invoked too many times
2020-02-07 13:48:55 +11:00
Stuart Douglas
3a909ccdf8
Make sure that src/test/resources takes precidence for @QuarkusTest
...
This allows for easy config overriding in tests
2020-02-07 12:23:41 +11:00
Alexey Loubyansky
c2512d67c3
BOMs from the same workspace are not interpolated in dev mode
2020-02-03 16:44:38 +01:00
Georgios Andrianakis
49b4b003e0
Add tests for initial compilation of quarkus:dev
2020-02-03 11:02:01 +02:00
Georgios Andrianakis
c5ecc7d839
Extract common test code into utility method
2020-02-01 09:02:10 +02:00
Guillaume Smet
8d01a5f77d
Merge pull request #6843 from stuartwdouglas/process-destroy
...
Explicitly invoke the Process.destroy method
2020-01-29 10:41:50 +01:00
Stuart Douglas
d881a31a92
Make sure TCCL is correct for outer test class
...
We still need to create an instance of the original test,
make sure the TCCL is correct to avoid problems
2020-01-29 16:20:03 +11:00
Stuart Douglas
59811ebde8
Explicitly invoke the Process.destroy method
...
This will wait for the process to completly stop,
the current code just waits for the web server to
go down.
2020-01-29 16:16:10 +11:00
Stuart Douglas
41a238ba12
Limit memory usage in tests
...
Tests can have lots of processes running at once,
if they all default to 75% of physical memory
we can run out, as processes can continue to allocate
instead of running GC
2020-01-29 14:03:15 +11:00
Stuart Douglas
19a3f09c82
Don't allow QuarkusUnitTest access to classes in the test directory that are not part of the deployment
2020-01-28 17:23:41 +11:00
Stuart Douglas
f45cc7926f
Fix test exception handling
2020-01-23 10:18:40 +11:00
Stuart Douglas
b67491c1ff
The big ClassLoader change
...
This changes the way Quarkus ClassLoading works,
to allow for isolated class loaders.
It also unifies how Quarkus is launched, so every
different mode we support uses the same mechanism
for both curation and launch.
Tests are now run in an isolated ClassLoader, which
means that a proxy is created that runs the tests
from within the isolated ClassLoader. This currently
has a quirk where @BeforeAll methods are run twice,
which will be fixed in the next JUnit release. This
can be worked around by using @QuarkusBeforeAll.
2020-01-22 13:30:44 +01:00
Georgios Andrianakis
c92a512b5a
Add beforeAll and afterAll hooks for QuarkusUnitTest
2020-01-21 20:13:47 +01:00
Guillaume Smet
56d710e059
Add artemis-server to the BOM so that upgrades are consistent
2020-01-20 21:17:17 +01:00
Martin Kouba
d1b5456454
Merge pull request #6611 from mkouba/junt-internal-detect-non-static
...
QuarkusUnitTest - detect usage of non-static fields and fail correctly
2020-01-20 12:37:01 +01:00
Martin Kouba
dead62b6c1
QuarkusUnitTest - don't call before/afterEach if build fails as expected
2020-01-20 09:46:30 +01:00
Vincent Sevel
b5d03f28c7
Add support for Vault Transit Secret Engine
2020-01-19 19:44:13 +01:00
Martin Kouba
ecb4620fff
QuarkusUnitTest - detect usage of non-static fields and fail correctly
...
- if a non-static field is used the test app is not started
- also update docs
2020-01-17 14:25:22 +01:00
Rostislav Svoboda
87c9ac65f9
Relax output checks to pass on Windows with cmder
2020-01-16 21:13:38 +01:00
sberyozkin
fa1c13a6bb
Merge pull request #6111 from hartimcwildfly/elytron-ldap-auth
...
Add LDAP authentication with Elytron LDAP realm
2020-01-14 10:39:55 +00:00
Matthias Harter
9deb29947d
added elytron ldap authentication
2020-01-14 08:02:50 +01:00
Guillaume Smet
fec6020b54
Merge pull request #6380 from gsmet/jackson-upgrade
...
Upgrade Jackson to 2.10.1
2020-01-04 13:46:49 +01:00
Guillaume Smet
7aa2bbe128
Merge pull request #6246 from stuartwdouglas/websocket-dev-mode-test
...
Add websockets dev mode test
2020-01-03 17:42:11 +01:00
Guillaume Smet
50af61b213
Upgrade Jackson to 2.10.1
2020-01-03 11:47:33 +01:00
Jaikiran Pai
204f3b1f11
issue-6280 Address Class-Path parsing issues with Java 11 and Windows, for tests launched using QuarkusDevModeTest
2019-12-20 20:07:03 +05:30
sberyozkin
c16795e571
Merge pull request #6174 from vsevel/issue_5638
...
Add Support to Multiple Vault KV Paths - Fixes Issue 5638
2019-12-18 10:36:02 +00:00
Stuart Douglas
99bdd51208
Add websockets dev mode test
2019-12-18 15:58:27 +11:00
Vincent Sevel
6bdff6ffde
Add Support to Multiple Vault KV Paths - Fixes Issue 5638 #6174
2019-12-17 22:50:40 +01:00
Guillaume Smet
32b97a3ed1
Some housekeeping on our pom files
2019-12-17 21:16:56 +01:00
Rostislav Svoboda
ac33cd7cb6
Micro versions bump
2019-12-11 13:40:07 +01:00
Guillaume Smet
c5fa23e415
Merge pull request #5932 from mkouba/main-error-logger
...
MainClassBuildStep - log error when app fails to start
2019-12-05 13:24:43 +01:00