Commit graph

25797 commits

Author SHA1 Message Date
Arnout Engelen
5ecd26d369
Fix CoronerSpec instability (#30494)
Tested in https://github.com/akka/akka/pull/30437 that indeed looking at
the threads 'too soon' might miss the deadlock.
2021-08-06 14:24:28 +02:00
Arnout Engelen
6e0158e221
Auto-publish backported docs (#30422)
* Auto-publish backported docs

* publish docs on ubuntu 20.04

Co-authored-by: Ignasi Marimon-Clos <ignasi35@gmail.com>

* Use the latest 1.11 to publish docs

Co-authored-by: Ignasi Marimon-Clos <ignasi35@gmail.com>

Co-authored-by: Ignasi Marimon-Clos <ignasi35@gmail.com>
2021-08-05 18:19:00 +02:00
Ignasi Marimon-Clos
45b9b0bcd1
Use latezt Ubuntu and JDK latest LTS (#30485) 2021-08-05 16:45:03 +02:00
Ignasi Marimon-Clos
03f557e7b1
Comment on .travis different scalaVersion (#30456) 2021-08-05 15:59:19 +02:00
Andrea Peruffo
8af037e941
Exclude failing test on GH Action (#30484) 2021-08-05 15:38:19 +02:00
Arnout Engelen
5b33dcdfbb
Fix TlsSpec on AdoptOpenJdk 1.8.0-272+ (#30473)
* Fix TlsSpec on AdoptOpenJdk 1.8.0-272+

* scalafmt

* Layers

SSLHandshakeException's are like onions, having multiple layers and
making you cry...
2021-08-05 15:09:11 +02:00
Andrea Peruffo
17b0c10ea4
Merge pull request #30475 from raboof/fix-EventStreamSpec-instability
fix EventStreamSpec instability
2021-08-05 14:02:21 +02:00
Arnout Engelen
e2de8d22f1
smaller diff 2021-08-05 12:49:43 +02:00
Andrea Peruffo
612a013a52
Merge pull request #30471 from raboof/diagnose-BalancingSpec-30359
BalancingSpec: log the sender of the expected messages
2021-08-05 12:35:28 +02:00
Arnout Engelen
ed7b49bbb5
unused imports 2021-08-05 11:29:32 +02:00
Andrea Peruffo
5ac99123e7
Exclude BoundedBlockingQueueSpec on GH Actions (#30480) 2021-08-05 11:23:26 +02:00
Arnout Engelen
1eef6ab6e6
Enable logging for flaky EventStreamSpec (#30436)
* Enable logging for flaky EventStreamSpec

Refs #18630

* scalafmt
2021-08-05 11:12:45 +02:00
Arnout Engelen
1ff6c60233
awaitAssert instead of delay 2021-08-05 10:47:34 +02:00
Andrea Peruffo
b2e6181f3b
Merge pull request #30463 from raboof/fix-UdpConnectedIntegrationSpec-instability
Fix UdpConnectedIntegrationSpec instability
2021-08-05 10:31:41 +02:00
Andrea Peruffo
43d56d626d
Exclude CircuitBreakerMTSpec from GH Action tests (#30477) 2021-08-05 09:12:00 +02:00
Arnout Engelen
bb6dc9ef8d
No longer exclude 2021-08-04 23:28:13 +02:00
Arnout Engelen
92da1a7040
Fix UdpConnectedIntegrationSpec instability
Fixes #30462
2021-08-04 23:27:34 +02:00
Arnout Engelen
b808a674ce
Diagnose FlowFlatMapPrefixSpec (#30470)
Add debug logging to help diagnose #30469. Nothing too interesting there
on a successful run, but perhaps when it fails?
2021-08-04 23:27:02 +02:00
Andrea Peruffo
f1862bdfa0
Parallelize GH Action for Scala 3 (#30472) 2021-08-04 17:11:20 +02:00
Arnout Engelen
04bf969d04
fix EventStreamSpec instability
fixes #30460
2021-08-04 16:58:16 +02:00
Andrea Peruffo
60e8225059
Merge pull request #30468 from andreaTP/excludes-on-gha
Exclude failing tests only on GHA
2021-08-04 15:52:37 +02:00
Arnout Engelen
b01cd3dcd1
Fix LocalPubSubSpec instability (#30467)
Wait for the topic to be created

Fixes #30466
2021-08-04 15:12:45 +02:00
Andrea Peruffo
c7c18865d8 typo 2021-08-04 14:47:31 +02:00
Andrea Peruffo
7d842fefc3 Add link to issues 2021-08-04 14:46:30 +02:00
Andrea Peruffo
284926486a Exclude failing tests only on GHA 2021-08-04 14:38:18 +02:00
Raymond Roestenburg
cdf54dcdf8
Build Test Akka Cluster Metrics with sigar library. (#30453) 2021-08-04 14:18:30 +02:00
Arnout Engelen
af493725ea
Log the sender of the expected messages
To diagnose whether #30359 has to do with crosstalk between tests
2021-08-04 13:49:36 +02:00
Arnout Engelen
62cefddcc7
Don't run multi-jvm tests on GHA for Scala 3 (#30461) 2021-08-04 12:34:30 +02:00
Arnout Engelen
e127d1916f
Diagnose BalancingSpec failure (#30438)
For #30359
2021-08-02 14:23:47 +02:00
Renato Cavalcanti
4129a75db0
scala3: akka-cluster (#30417)
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-08-02 11:06:35 +02:00
Arnout Engelen
f3fb2a577d
LocalPubSubSpec: allow multiple debug messages (#30434)
* Fix MailboxSelectorSpec race

The comment already said there could be 2 dead letters, but the log
assertion failed when there was a second 'excess' one. Add a flag to
skip checking for excess log lines.

* LocalPubSubSpec: allow multiple debug messages

Fixes #30432 on top of #30429
2021-07-30 13:00:31 +02:00
Josep Prat
7faa33ff54
[Docs] Fix scala snippet for Sink.combine #30431 (#30433)
Refs: #30431
Use correct syntax for including a multi language snippet
2021-07-30 12:32:25 +02:00
Arnout Engelen
cca1c20d93
Fix MailboxSelectorSpec race (#30429)
The comment already said there could be 2 dead letters, but the log
assertion failed when there was a second 'excess' one. Add a flag to
skip checking for excess log lines.
2021-07-30 11:54:42 +02:00
Arnout Engelen
42d85a3019
Run akka-remote tests on Scala 3 (#30415)
* Run akka-remote tests on Scala 3

* Test the same scenario on Scala 2.13 and 3

A case object is `Serializable` on Scala 3 but not on Scala 2.13, so
this test would fail because no serializer is found on Scala 2.13,
and because the Java serializer is disabled on Scala 3.

By using a class instead, which is not `Serializable` both on Scala 2.13
and Scala 3, we test the same thing on both Scala versions.
2021-07-27 16:42:20 +02:00
Renato Cavalcanti
a71033a78e
fix: addItem method in EventSourcedBehavior docs (#30419) 2021-07-27 10:48:46 +02:00
Arnout Engelen
8d07c055ec
Fix race in RoutersTest (#30428)
Refs #30424
2021-07-26 20:13:40 +02:00
Renato Cavalcanti
8e965565a1
use GH Actions to compile and tests with Scala 3 (#30427)
* use GH Actions to compile and tests with Scala 3

* Update .github/workflows/scala3-build.yml

Co-authored-by: Andrea Peruffo <andrea.peruffo1982@gmail.com>

* rename .jvmopts-travis to .jvmopts-ci

* Restore the whitesource stage

* Small updates to gh action workflow

* Mark BoundedBlockingQueueSpec timing-sensitive and exclude

* Avoid race condition stopping/starting test actors

Co-authored-by: Andrea Peruffo <andrea.peruffo1982@gmail.com>
Co-authored-by: Ignasi Marimon-Clos <ignasi@lightbend.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-07-26 14:21:10 +02:00
Renato Cavalcanti
d7df61823f
enable all tests that are passing with scala 3 (#30423) 2021-07-23 17:45:15 +02:00
Lukas Rytz
9db28c68a7
Run tests for actors and typed actors on Scala 3 (#30283)
Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2021-07-23 12:31:45 +02:00
Arnout Engelen
186ace214b
akka-paradox: update to 0.39 (#30420) 2021-07-23 10:23:49 +02:00
Johannes Rudolph
82aa15e6ab
io: probe TCP socket when reading before registering interest (#30354)
Just asking once for more data is cheaper than instantly updating epoll.
2021-07-22 10:32:18 +02:00
Johan Andrén
70ba0a1af0
Akka Remote compiling on Scala 3.0 (#30361)
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-07-21 20:24:33 +02:00
Arnout Engelen
083303266e
Test Akka Discovery with Scala 3 (#30410) 2021-07-21 09:07:50 +02:00
Arnout Engelen
83c6e9506b
Run akka-testkit tests on Scala 3 (#30407)
Already worked, just adding it to CI
2021-07-20 20:39:26 +02:00
Arnout Engelen
fc1a375f51
Compile akka-serialization-jackson with Scala 3 (#30408)
Tests compile but one test fails - possibly because of the mixed Jackson
versions. Took inspiration from #30361

Refs #30243
2021-07-20 19:14:23 +02:00
Arnout Engelen
ac70b1db38
sharding: actively signal 'region stopped' to the coordinator (#30402) 2021-07-20 12:01:53 +02:00
Arnout Engelen
1dc345896c
Test akka-coordination on Scala 3 (#30409) 2021-07-20 11:10:24 +02:00
Arnout Engelen
f7cc3a8297
Update genjavadoc (#30411)
To fix the publish failure introduced by #30302
2021-07-20 11:08:47 +02:00
Scala Steward
9cd97b494f
Update scala-library to 2.13.6 (#30302)
Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-07-19 20:33:22 +02:00
Arnout Engelen
1e3903bc2c
compile akka-coordination with scala3 (#30386)
Unfortunately the tests reveal a problem: a duplicate 'get' static
forwarder method is generated on the `LeaseProvider` class, which
produces a problem getting the extension from Java. To be
investigated, but let's at least start checking compilation.

Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2021-07-19 17:09:48 +02:00