Commit Graph

79 Commits

Author SHA1 Message Date
levlam
2181783bee Manually split send_immediately and send_later implementations. 2024-05-06 19:38:24 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
06e01a9ebd Avoid 'Access is denied. : 5 : File "server" can't be opened/created for reading' error in tests. 2023-10-06 00:29:08 +03:00
levlam
206787255b Add an Actor test. 2023-05-05 00:08:32 +03:00
levlam
4041ecb535 Fix warning. 2023-04-24 23:08:25 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
3b6874818a Always wait for mailbox. 2023-01-11 01:08:22 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
1ac2dfef30 Replace ConcurrentScheduler::init with constructor. 2022-09-14 15:06:52 +03:00
levlam
07b7faf66c Reduce run time of some tests. 2022-07-28 00:15:18 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
782aa6a2ec Minor fixes. 2022-06-14 16:11:38 +03:00
levlam
b71e330396 Fix tests. 2022-02-11 00:11:02 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
3303fedabd Speed up actors open_close test. 2021-12-27 19:13:45 +03:00
levlam
a28b5f2fbb Remove explicit verbosity level changes in tests. 2021-11-21 21:41:11 +03:00
levlam
f518f94b20 Fix actors_simple test without threads/EventFd. 2021-10-25 09:44:57 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
49282f35a5 Explicitly specify namespace td in tdactor tests. 2021-10-15 14:21:30 +03:00
levlam
1617d7271f Test that MultiPromiseActor uses try_emit_later. 2021-10-10 23:56:23 +03:00
levlam
34569b3600 Fix Actor tests. 2021-10-07 17:10:07 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
90e253d90c Remove REGISTER_TESTS define. 2021-05-26 00:41:15 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
6df8b9a535 Fix MultiTimeout_Destroy test. 2020-11-21 20:49:06 +03:00
levlam
ccb30077e7 Make test functions statis if possible. 2020-11-21 20:45:09 +03:00
levlam
582206d641 Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
2020-10-08 12:56:08 +03:00
levlam
2009d58f6a Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
2020-08-27 01:27:34 +03:00
levlam
e16952121b Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
2020-07-13 23:20:16 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
abb140a714 Minor improvements.
GitOrigin-RevId: a50ba2cc0b47b395d7d7787ad59868d23bf22634
2019-09-08 03:49:16 +03:00
levlam
6cbc02ed1b Minor improvements.
GitOrigin-RevId: 157e77d244b24f3c5af56539d434096f7440e2e8
2019-09-05 18:32:45 +03:00
levlam
e6597eca8c Add MultiTimeout test.
GitOrigin-RevId: b8f381ff69971a76110bd7e9d94107012942f02e
2019-09-04 22:38:51 +03:00
levlam
84695437d3 Various fixes.
GitOrigin-RevId: 94d0df55495a08b5599c90f56dbe08ac3a3d65e5
2019-08-14 03:13:34 +03:00
levlam
bb24ec0629 Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
2019-08-13 23:52:54 +03:00
levlam
116f0028a2 Make G() safe.
GitOrigin-RevId: d417008f94ce6f8c587561af352d696ef55895b3
2019-08-01 22:12:04 +03:00
Arseny Smirnov
06efc32de9 Actors: destroy events in mailbox in context of actor
GitOrigin-RevId: f3b47e7b80889a65ead6a30e918513409df4c667
2019-07-30 16:22:43 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
7627dc27a7 Give different names to MultiPromise actors.
GitOrigin-RevId: 4277553637ca342bc80af07ddcdf013eec506221
2018-12-12 02:48:56 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
15b9a1368d Remove back actor_id variables.
GitOrigin-RevId: 918384376cbae7c489cc88749b3db8d950e26c49
2018-10-27 03:03:15 +03:00