Commit graph

179 commits

Author SHA1 Message Date
Matej Bačo
666e8f3ec9 Separate proxy rule creation 2025-02-22 18:56:51 +01:00
Matej Bačo
3932b8bdc1 Merge branch '1.7.x' into feat-sites 2025-02-19 12:54:05 +01:00
Khushboo Verma
262b152cd9 Add more rule tests 2025-02-18 12:12:12 +05:30
Khushboo Verma
3531d223e2 Fix general tests 2025-02-13 20:27:25 +05:30
Jake Barnby
1c91604c80
Only disable database reads/writes and network stats 2025-02-11 20:56:39 +13:00
Jake Barnby
76680bcbcc
Revert "Feat batch usage dump" 2025-01-28 22:29:24 +13:00
Eldad A. Fux
1db4bf7ae4
Merge pull request #9260 from appwrite/databases-reads-writes
Usage: Databases reads writes
2025-01-27 11:21:52 +01:00
Jake Barnby
297098b252
Revert test timing changes 2025-01-24 03:23:25 +13:00
Darshan
3cfd592351 fix: tests further. 2025-01-23 19:35:36 +05:30
Darshan
00a2413366 fix: tests due to additional response vars. 2025-01-23 19:17:20 +05:30
Jake Barnby
1360c16f65
Partial revert "Add project log"
This partially reverts commit 8097f1607f.
2025-01-24 01:43:25 +13:00
Jake Barnby
8097f1607f
Add project log 2025-01-24 01:34:44 +13:00
Jake Barnby
03a8f35082
Ensure wait overlaps aggregation interval 2025-01-24 00:14:30 +13:00
Jake Barnby
687be05d95
Speed up dev mode usage tests 2025-01-24 00:08:04 +13:00
loks0n
ec7f76f9fb fix: stats tests 2025-01-09 21:17:53 +00:00
loks0n
a85abdab4a fix: usage tests 2025-01-09 20:11:02 +00:00
loks0n
a45db60313 fix: falsy values 2024-10-02 14:16:25 +01:00
loks0n
3cfc062d8d Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-flaky-tests 2024-10-01 20:53:08 +01:00
Bradley Schofield
3a68c77406 Try and get tests working 2024-09-24 14:28:11 +09:00
Bradley Schofield
e8bd577d4e Update metric count 2024-09-24 01:43:33 +09:00
Bradley Schofield
5c59083f4d Run Linter 2024-09-24 00:57:22 +09:00
Bradley Schofield
00acc2f73b Address Comments 2024-09-24 00:07:54 +09:00
Bradley Schofield
f9d0f8fc38 Run Linter 2024-09-23 18:16:18 +09:00
Bradley Schofield
a309f31a33 Add tests, move hooks to API Layer 2024-09-23 18:08:48 +09:00
loks0n
cb0416be7b chore: fmt 2024-09-19 21:08:04 +01:00
Bradley Schofield
82687c8ca4 Merge branch 'main' into 1.5.x-db-storage-metrics
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	app/controllers/api/project.php
#	src/Appwrite/Utopia/Response/Model/UsageProject.php
#	tests/e2e/General/UsageTest.php
2024-09-19 15:37:27 +09:00
Torsten Dittmann
c5dae9f018 fix: backwards compatibility 2024-09-16 13:49:13 +02:00
Torsten Dittmann
8ac2f64353 fix: function storage metrics 2024-09-16 11:58:08 +02:00
Bradley Schofield
e17f391f25 Improve Test Reliabiltiy 2024-09-02 18:57:02 +09:00
Bradley Schofield
87e12d028d Increase timer, run linter. 2024-09-02 13:50:58 +09:00
Bradley Schofield
cdfc6e640a Add Tests 2024-09-02 13:18:19 +09:00
Bradley Schofield
3ed9dd288e Test 8GB 8192MB 2024-08-19 19:12:25 +09:00
Bradley Schofield
f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00
Bradley Schofield
519a444617 Update Tests 2024-07-18 16:47:18 +09:00
Bradley Schofield
a710e9bfe4 Update UsageTest.php 2024-07-15 13:57:36 +09:00
Bradley Schofield
9113f265b7 Fix Tests 2024-06-11 06:40:37 +00:00
Bradley Schofield
98ca5faef1 Add Tests 2024-06-11 14:36:32 +09:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
loks0n
c627fbf2a5 fix: type err 2024-02-20 15:32:00 +00:00
loks0n
24bf5d2584 fix: usage tests 2024-02-20 15:27:01 +00:00
loks0n
c192712a58 chore: fmt 2024-02-20 14:58:50 +00:00
loks0n
7b88b6dbb1 test: refactor usagetest 2024-02-20 14:47:49 +00:00
loks0n
e051717232 fix: usage tests 2024-02-20 13:24:52 +00:00
Steven Nguyen
dea3c0416b
Fix broken usage tests 2024-01-09 03:11:00 +00:00
Steven Nguyen
fc2a4e52e2
Update the usage test to retry since the test is flaky 2024-01-09 02:23:22 +00:00
Steven Nguyen
747779b245
Fix usage test checking wrong array key 2024-01-09 02:09:40 +00:00
Torsten Dittmann
063db1e2bf feat: add execution aggregation to project usage 2023-12-12 18:48:21 +01:00
Torsten Dittmann
ba75f69969 feat: usage breakdown by project 2023-12-11 16:19:08 +01:00
Torsten Dittmann
95425832ae fix: tests and response models 2023-12-10 11:03:01 +01:00
shimon
5e17cde10f usage test 2023-10-25 15:57:03 +03:00
shimon
4c6976488c clean up 2023-10-25 15:06:54 +03:00
shimon
83ffea68d1 rolling back usage flow 2023-08-20 16:53:26 +03:00
shimon
8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Torsten Dittmann
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
shimon
acbf676d94 test fix 2023-02-14 19:40:21 +02:00
shimon
ec52cbbb8c addressing comments 2023-02-06 09:20:03 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
shimon
b61e6e0d5a usage test 2023-01-12 19:41:14 +02:00
shimon
9a2f734d3a compose.lock 2023-01-12 18:06:20 +02:00
shimon
20f9b0c655 refactor usage worker 2022-12-22 15:02:41 +02:00
shimon
5e394fed5d refactor usage worker 2022-12-21 21:03:09 +02:00
shimon
c02ef7b340 adding build.storage usage 2022-12-21 11:22:29 +02:00
fogelito
91db596b42 remove static $dateValidator 2022-12-19 13:21:09 +02:00
shimon
7b9a8c01f2 benchmarks 2022-12-19 10:30:32 +02:00
shimon
18f192ed65 benchmarks 2022-12-19 10:25:49 +02:00
shimon
86638e0079 e2e tests 2022-12-15 19:00:05 +02:00
shimon
7601c9047b e2e tests 2022-12-15 11:45:43 +02:00
fogelito
bdc3e9f935 $dateValidator 2022-12-15 10:51:27 +02:00
shimon
285bfe9fd7 e2e tests 2022-12-15 09:56:06 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
shimon
961c408885 metric negative / positive values in worker 2022-12-14 09:34:04 +02:00
Matej Bačo
9163aa360e
Update tests/e2e/General/UsageTest.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-11-18 15:17:14 +01:00
Matej Baco
5ec548cc06 Fix more failing tests 2022-11-18 14:13:33 +01:00
Matej Baco
b39aa060c8 Fix usage endpoint in test 2022-11-18 10:15:11 +01:00
Torsten Dittmann
006cb4665e
Merge pull request #4674 from appwrite/fix-usage-executions
Fix: usage executions
2022-11-15 15:39:12 +01:00
Torsten Dittmann
10695a021a fix: usage tests timeout 2022-11-15 15:35:42 +01:00
Matej Bačo
e1ecf9aad7 Fix failing test 2022-11-15 09:41:55 +00:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +00:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
Torsten Dittmann
e315f5d2ac fix: database usage tests 2022-11-09 10:29:13 +01:00
Torsten Dittmann
4041c4964c tests: fix remaining tests for usage 2022-11-08 15:16:10 +01:00
Torsten Dittmann
1615121b3e tests: adapt to new response model 2022-11-08 14:38:43 +01:00
Damodar Lohani
1fdaaeef71 reduce waiting time 2022-10-18 06:19:57 +00:00
Damodar Lohani
d7f87051d6 fix test 2022-10-18 06:10:33 +00:00
Steven Nguyen
00a4929301 Fix date format for usage APIs 2022-09-15 23:48:09 +00:00
Christy Jacob
022e992041
Merge pull request #3802 from appwrite/feat-improve-usage-retry
Make usage tests only retry the usage fetch part
2022-09-12 20:30:13 +04:00
Christy Jacob
0ce6deedbe fix failing test 2022-09-09 21:47:24 +00:00
Christy Jacob
526705d440 feat: update failing tests 2022-09-10 00:19:09 +04:00
Steven Nguyen
0d016dea64 Make usage tests only retry the usage fetch part
Before this, usage tests retried creating usage AND fetching
the usage which caused some expected counts to be incorrect.
2022-09-09 17:19:25 +00:00
Jake Barnby
b1cb6ab9bc
Add single retry to all usage tests 2022-08-31 11:35:46 +12:00
Steven
60a4563908 Fix usage tests 2022-08-25 22:15:11 +00:00
Damodar Lohani
7c2ecaec4b correct function status 2022-08-18 05:13:30 +00:00
Damodar Lohani
e63e79d3f9 linter fix 2022-08-18 01:50:55 +00:00
Damodar Lohani
acd5dfc23f update functions test 2022-08-18 01:49:41 +00:00
Damodar Lohani
b28d3ce302 fix usage test 2022-08-18 00:36:25 +00:00
Damodar Lohani
fca655a48d function usage test 2022-08-17 10:36:30 +00:00
Damodar Lohani
74a159ab99 fix key 2022-08-13 03:44:57 +00:00