2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-21 17:37:15 +00:00

3 Commits

Author SHA1 Message Date
Paul Cleary
1de710b991
Update dependencies (#939)
* Updating dependencies

Updated almost all dependencies to current.  There were some issues with
akka-http 10.1.11 so I stayed with 10.1.10 for the time being.

Func tests passed locally and manual review of the UI looks to be good

Significant changes are:

- `pureconfig` - this update had breaking syntax, so I had to update everywhere
  we use pureconfig.  Functionally it is the same, just different syntax
- `scalatest` - this was a big change, as scalatest has refactored out things
  like Mockito and scalacheck.  Many imports changed.
- `Java11` - formally moved everything to java 11.  This required some new
  dependencies like `javax.activation` and `java.xml.bind`

* Updating travis to JDK 11

* Finishing JDK 11 update

In order to update to JDK 11, needed to modify several docker things.

Removed timeout test that was causing issues as timeout tests here are not good
for running in travis.
2020-04-28 09:08:03 -05:00
Paul Cleary
e3fd1bc43a
Parallelizing the build (#230)
Using the `all` command in sbt allows us to run certain tasks
in parallel.  Not everything can be done in parallel, so we have to use
judgement here.  Some things like dockerCompose cannot be done in parallel.

With the adjustments, local `;validate;verify` went from 12 minutes to 9
minutes, a savings of 3 full minutes!

**build.sbt**
Most changes are here.

Allow parallelExecution by default.  The reason is that test suites will be run
in parallel.  The play framework by default turns this off.  Some of the changes
made in here around the `InMemoryBatchChangeRepository` were necessary when I
flipped this on.

We cannot run in parallel by default for IntegrationTest.  The reason is that
several of the api integration tests use the same zone repo, so they wind up
stomping on each other.

Added a `killDocker` task that is much faster to run than `dockerComposeStop`

Enabled parallelExecution in IntegrationTest in dynamodb.  The integration tests
do not conflict with each other here.

Changed the command aliases to use parallel `all`

**InMemoryBatchCHangeRepository**
This used to be a singleton, which prevents running unit tests in parallel.
Made this a class, and updated unit tests to use the class instead.

**logback-test.xml**
We were still logging in odd ways in places.  Removed this to turn logging off
by default for tests.

**.jvmopts**
Kept running out of metaspace.  Increased the memory needed to help slow that
down.
2018-09-21 16:24:49 -04:00
Paul Cleary
f01ac7b88e Add missing files dropped during move. 2018-07-31 14:26:13 -04:00