From 94c5ee9376c0a51389adeffa529cca0b8c21e5f1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Jan 2021 23:55:11 +0100 Subject: [PATCH] reduce lookahead_sign in tests to improve test performance a bit --- .../test-taler-exchange-aggregator-postgres.conf | 10 ++++++++++ .../test-taler-exchange-wirewatch-postgres.conf | 10 ++++++++++ src/testing/test_auditor_api.conf | 11 +++++++++++ src/testing/test_exchange_api.conf | 9 +++++++++ .../test_exchange_api_keys_cherry_picking.conf | 10 ++++++++++ src/testing/test_exchange_api_twisted.conf | 10 ++++++++++ 6 files changed, 60 insertions(+) diff --git a/src/testing/test-taler-exchange-aggregator-postgres.conf b/src/testing/test-taler-exchange-aggregator-postgres.conf index f3a6dfe48..f25e5e447 100644 --- a/src/testing/test-taler-exchange-aggregator-postgres.conf +++ b/src/testing/test-taler-exchange-aggregator-postgres.conf @@ -2,6 +2,16 @@ # Persistent data storage for the testcase TALER_TEST_HOME = test_taler_exchange_httpd_home/ +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days + [taler] # Currency supported by the exchange (can only be one) CURRENCY = EUR diff --git a/src/testing/test-taler-exchange-wirewatch-postgres.conf b/src/testing/test-taler-exchange-wirewatch-postgres.conf index 8dfd38582..f702b2c33 100644 --- a/src/testing/test-taler-exchange-wirewatch-postgres.conf +++ b/src/testing/test-taler-exchange-wirewatch-postgres.conf @@ -2,6 +2,16 @@ # Persistent data storage for the testcase TALER_TEST_HOME = test_taler_exchange_httpd_home/ +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days + [taler] # Currency supported by the exchange (can only be one) CURRENCY = EUR diff --git a/src/testing/test_auditor_api.conf b/src/testing/test_auditor_api.conf index a03044523..8b3abd0e3 100644 --- a/src/testing/test_auditor_api.conf +++ b/src/testing/test_auditor_api.conf @@ -5,6 +5,17 @@ # Persistent data storage for the testcase TALER_TEST_HOME = test_exchange_api_home/ +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days + + [taler] # Currency supported by the exchange (can only be one) CURRENCY = EUR diff --git a/src/testing/test_exchange_api.conf b/src/testing/test_exchange_api.conf index 614aaed16..5381844c6 100644 --- a/src/testing/test_exchange_api.conf +++ b/src/testing/test_exchange_api.conf @@ -5,6 +5,15 @@ # Persistent data storage for the testcase TALER_TEST_HOME = test_exchange_api_home/ +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days [taler] # Currency supported by the exchange (can only be one) diff --git a/src/testing/test_exchange_api_keys_cherry_picking.conf b/src/testing/test_exchange_api_keys_cherry_picking.conf index 74c64e24f..a4f7c29d8 100644 --- a/src/testing/test_exchange_api_keys_cherry_picking.conf +++ b/src/testing/test_exchange_api_keys_cherry_picking.conf @@ -17,6 +17,16 @@ TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ # Currency supported by the exchange (can only be one) CURRENCY = EUR +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days + [auditor] BASE_URL = "http://localhost:8083/" diff --git a/src/testing/test_exchange_api_twisted.conf b/src/testing/test_exchange_api_twisted.conf index 378ee61ac..dc1242557 100644 --- a/src/testing/test_exchange_api_twisted.conf +++ b/src/testing/test_exchange_api_twisted.conf @@ -3,6 +3,16 @@ # Persistent data storage for the testcase TALER_TEST_HOME = test_exchange_api_home/ +[taler-helper-crypto-rsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days + +[taler-helper-crypto-eddsa] +# Reduce from 1 year to speed up test +LOOKAHEAD_SIGN = 24 days +# Reduce from 12 weeks to ensure we have multiple +DURATION = 14 days + [taler] # Currency supported by the exchange (can only be one) CURRENCY = EUR