Update deps, allow to run tests with forkCount=1 (#8465)


# Motivation
In current master you cannot run the tests with "forkCount=1", this is very annoying as by default we are running all of the tests in parallel.
This change upgrades a few testing dependencies and fixes a problem with PowerMock + Testng + Log4j2 + forkCount=1

# Modifications
Upgrade TestNG
Upgrade PowerMock
Upgrade Mockito
Verifying this change
All tests should pass

This change is a trivial rework / code cleanup without any test coverage.


* Update deps, allow to run tests with forkCount=1

* revert log4j2

* fix build

* revert javaassist

* revert surefire

* use https for TestNG DTDs

* remove SnakeYAML

Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
21 files changed
tree: 177a4f30f15423fec94297c537679561dbae6c1e
  1. distribution/
  2. docker/
  3. tests/