View Issue Details

IDProjectCategoryView StatusLast Update
0007322Talerwallet-corepublic2023-09-23 13:09
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007322: speed up integration tests by cloning environment
DescriptionInstead of setting up the exchange/merchant/... from scratch every time, we should create the base environment once, clone the database / files and restore it for every subsequent integration test.

This would save about 5 seconds per integration test, which is significant for about 60 tests.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2023-08-24 15:22

manager   ~0020436

The "simple-payment" test now uses a shared / "warmed up" environment (with dbinit, key creation and offline signing already run).

We should also move some more of the simple test cases to the shared setup.

Florian Dold

2023-08-29 08:16

manager   ~0020450

Implemented (9402aeef5b) and used for now in just one integration test.

Issue History

Date ModifiedUsernameFieldChange
2022-09-05 14:32Florian DoldNew Issue
2022-09-05 14:32Florian DoldStatusnew => assigned
2022-09-05 14:32Florian DoldAssigned To => Florian Dold
2022-09-05 14:48Florian DoldDescription Updated
2023-04-04 17:42Florian DoldTarget Version => 0.10
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core
2023-08-24 15:22Florian DoldNote Added: 0020436
2023-08-25 12:20Florian DoldTarget Version0.10 => 0.9.3
2023-08-29 08:16Florian DoldStatusassigned => informing
2023-08-29 08:16Florian DoldResolutionopen => fixed
2023-08-29 08:16Florian DoldNote Added: 0020450
2023-09-23 13:07Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed