Commit Graph

134 Commits

Author SHA1 Message Date
cf49af2bb9
harness: allow overriding the test timeout via env variable 2023-08-03 21:44:43 +02:00
ee47aa4837
fix integration tests
Instead of using the deprecated runUntilDone, we now wait
for specific notifications.

The old way doesn't work, since p2p push transactions are not considered
done until the counterparty has accepted the payment.
2023-08-03 19:24:04 +02:00
fdbd55d2bd
-towards tip->reward rename 2023-08-03 18:35:07 +02:00
Sebastian
f407ab2023
fix #7741
add integration test
2023-07-03 12:44:20 -03:00
5695ae0a9f
wallet-core: use testingWaitTransactionsFinal to wait for transactions 2023-07-01 01:43:29 +02:00
5754f00399
harness: check balance in basic payment test 2023-06-30 16:44:46 +02:00
06301efda3
-logging 2023-06-21 12:36:22 +02:00
ba913cd2ce
harness: wallet must always withdraw via fault-injected exchange
Otherwise, the ports in the base URL don't match and the wallet will
complain.
2023-06-21 08:54:18 +02:00
9f8faed2d1
harness: fix/modernize peer-to-peer-push 2023-06-21 08:17:25 +02:00
7dcfd02dae
harness: fix exchange base URL in tests with fault injection 2023-06-21 06:59:40 +02:00
1f60ac76f9
harness: fix test-peer-repair 2023-06-20 16:19:57 +02:00
e5a8ae7d60
wallet-core: remove redundant/unused notifications 2023-06-20 16:07:20 +02:00
9c708251f9
wallet-core: emit DD37 self-transition notifications with errors 2023-06-20 11:40:06 +02:00
54f0c82999
wallet-core: fix peer-(push,pull)-debit withdrawal states 2023-06-19 16:03:06 +02:00
ffa68ce8dd
taler-harness: WIP integration test for p2p coin selection repair 2023-06-19 16:02:23 +02:00
Sebastian
c41d7e0437
removing peerPullCreditReadyCond 2023-06-02 14:11:36 -03:00
2f4f43cc1f
harness: fix kyc test
Exchange broke the config
2023-06-02 12:41:27 +02:00
cd8f76db61
taler-util,wallet-core: implement TalerPreciseTimestamp
Fixes #7703
2023-05-26 12:19:32 +02:00
a2ef2e391a
wallet-core: remove legacy non-DD37 tx status fields 2023-05-24 14:46:03 +02:00
Christian Grothoff
db03383325
-move AML_THRESHOLD option to exchange 2023-05-13 20:21:24 +02:00
Sebastian
f7481ba1d8
harness compilation, default headers for http request 2023-05-12 09:37:45 -03:00
99b844b465
-test fixes 2023-05-07 22:16:33 +02:00
7f0edb6a78
wallet-core: refund DD37 refactoring 2023-05-07 21:51:02 +02:00
9a412260f3
adapt to merchant API breaking changes 2023-05-05 14:56:33 +02:00
MS
c8d78d68d3
Libeufin testing.
Disabling check that fails due to a Nexus
response format.  The check will be enabled
again after its related bug's fix.
2023-04-24 22:36:25 +02:00
e2e56332e2
-the --allow-http flag is gone 2023-04-24 21:23:22 +02:00
Sebastian
b3cdd3409e
improved log, added allow-http flag and prevent thrott 2023-04-24 13:13:20 -03:00
MS
ab49083257
libeufin tests
Adapting test after API breaking change.
2023-04-24 17:06:09 +02:00
b81ea1b4b7
harness: adjust to merchant API breaking changes, remove test that doesn't belong 2023-04-23 23:08:37 +02:00
eff3920bd5
wallet-core: further towards deposit DD37 2023-04-23 22:49:42 +02:00
321252040e
-fix test-exchange-deposit 2023-04-22 22:17:08 +02:00
da59c85d2d
get rid of deprecated bankBaseUrl in more places 2023-04-22 18:36:56 +02:00
15feebecfe
wallet-core: towards DD37 for deposits 2023-04-22 14:17:49 +02:00
e331012c9f
-fix harness type errors 2023-04-21 22:46:04 +02:00
e81ae0f3e5
wallet-harness: make sure events are not lost in deposit test 2023-04-21 22:02:40 +02:00
b567ba4668
wallet-core: work around missing timestamp in legacy transaction 2023-04-13 15:58:38 +02:00
b96464fe09
Revert "wallet-core: check master public key in /wire response"
This reverts commit 7944a36e30.
2023-04-13 15:04:08 +02:00
7944a36e30
wallet-core: check master public key in /wire response 2023-04-13 14:16:06 +02:00
43ae414a55
-re-add missing fields, fix types 2023-04-06 12:47:34 +02:00
3cf6d15eae
taler-harness: new test 2023-04-05 18:19:14 +02:00
2823b1cdf4
wallet-core: towards DD37 for deposits 2023-04-05 17:38:41 +02:00
Sebastian
e311dc4bef
missing rename 2023-03-29 08:35:33 -03:00
906eddd48a
taler-harness: emit CIPHER option in coin config 2023-03-05 02:07:04 +01:00
7985b0a33f
taler-harness: deployment tooling for tipping 2023-02-23 00:52:17 +01:00
b648238c41
harness: improve peer-pull integration test, check notifications 2023-02-21 21:02:36 +01:00
1747d3ac18
wallet-core: rename p2p requests to something more sensible 2023-02-20 01:16:31 +01:00
e6ed901626
wallet-core: various p2p payment fixes 2023-02-19 23:13:44 +01:00
0ee3f94463
harness: set AM_THRESHOLD
It's now required by the exchange
2023-02-19 13:36:30 +01:00
eca3819bcd
taler-util: node http fixes 2023-02-16 13:54:19 +01:00
825d2c4352
make wallet-cli runnable under qtart 2023-02-16 02:50:29 +01:00
6a4da88719
wallet-core: expose more info about refund query 2023-02-14 11:17:19 +01:00
22cb8adaa6
wallet-core,harness: introduce reserveIsReady flag, test tx lifeycle 2023-02-13 13:15:47 +01:00
13f0442736
harness: finish kyc test
We mock the KYC gateway now, use the new notification-based wallet API
and the test is not experimental anymore.
2023-02-12 19:31:37 +01:00
04ab9f3780
wallet-core,harness: implement pay templating 2023-02-11 14:24:29 +01:00
1640859594
taler-wallet-cli: stop wallet properly 2023-02-10 19:47:59 +01:00
8d008641a0
harness: rename test to match convention 2023-02-10 19:31:38 +01:00
7a591c39d7
-clarification 2023-02-10 13:27:39 +01:00
18c30b9a00
wallet-core: implement partial withdrawal batching, don't block when generating planchets 2023-02-10 13:21:37 +01:00
c4180e1290
harness: run without throttling, make fakebank issue reproducible 2023-02-10 00:50:22 +01:00
1a3040d872
harness: allow running tests without timeout 2023-02-10 00:07:46 +01:00
3cf2d4cba9
wallet-core: expose withdrawal progress, towards huge withdrawal test 2023-02-10 00:07:33 +01:00
9d6613619e
harness,wallet-cli: allow in-memory DB 2023-02-02 20:37:15 +01:00
96101238af
harness,wallet-cli: notification-based testing with RPC wallet 2023-02-02 20:21:04 +01:00
Sebastian
40279ae7f0
pretty 2023-01-19 16:16:42 -03:00
Sebastian
b5c29a8bad
add test for commit 4f376297dc: show be able to call check refund and finish 2023-01-19 16:14:44 -03:00
0a439461e9
harness: hack around test limitation
It's currently not possible to wait until a transaction reaches a
certain state, so we simply run all pending operation once so that the
pull payment is initiated.
2023-01-19 00:05:45 +01:00
785f8163ca
harness: mark some tests as experimental 2023-01-18 19:58:30 +01:00
598de5b0d5
wallet-core: Add 'deposited' field to deposit transaction
This field indicates whether the POST requests to deposit coins went
through with the exchange.

We also don't consider a deposit transaction as having lifeness when it
is already deposited and we're just querying for informational deposit
tracking information.
2023-01-18 19:33:01 +01:00
e9a170d291
harness: wait in test 2023-01-16 16:14:48 +01:00
c4e8eabce8
harness: fix wrong assertions in test-payment-abort 2023-01-16 13:59:16 +01:00
8309f803ab
harness: add integration test for withdrawal fees 2023-01-13 01:27:05 +01:00
cbf848dd2a
wallet-core: return pending status instead of error
This allows clients to get the transaction ID of the confirmed payment.
2023-01-13 00:31:29 +01:00
52be8c9158
-missing file 2023-01-11 17:19:12 +01:00
143a4fe4ac
wallet-core: refresh when aborting payments 2023-01-11 17:14:49 +01:00
a82d8fab69
wallet-core: KYC mvp
Only hard withdrawal KYC is supporte so far, and no long-polling is done
yet.
2023-01-10 17:31:36 +01:00
e8baaf5eb1
harness: capture createdb/dropdb logs 2023-01-10 12:14:08 +01:00
417c07f3f4
wallet-core: insufficient balance details for p2p payments 2023-01-06 13:55:08 +01:00
80639429a2
wallet-core: test insufficient balance response, also use it for deposit groups 2023-01-06 10:32:44 +01:00
MS
db1b824818
libeufin tests: include currency in amounts. 2023-01-05 23:02:34 +01:00
aa165477d0
harness: p2p payment emojis 2023-01-04 14:22:38 +01:00
73eccdd1cf
harness: test more unicode characters in subject 2023-01-04 14:20:16 +01:00
cd2491430d
harness: make import.meta.url work 2023-01-04 11:36:01 +01:00
Christian Grothoff
7d0990fe89
-typo 2022-12-27 11:02:46 +01:00
083c4cf5d9
spill extra functionality from wallet-cli into taler-harness
We want to keep taler-wallet-cli smaller and have fewer dependencies.
2022-12-23 13:19:41 +01:00