You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/06/02 12:23:14 UTC
[incubator-ponymail-unit-tests] branch master updated (afce54e ->
ca45be0)
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git.
from afce54e fix caller check; allow for generator interface
new 66ad0d8 allow setting a mock archived-at for getting around medium archiver discrepancies
new fb8025f --dropin for quickly reconfiguring unit tests on the fly
new b4abb3c set up mock archived-at for this test
new 8b3387c set moch archived-at for these tests
new ca45be0 Merge branch 'master' of github.com:apache/incubator-ponymail-unit-tests
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
runall.py | 7 ++-
tests/test-generators.py | 22 ++++++++
yaml/gen-maven-dev-2017-11-listsao.yaml | 73 +++++++++++++-------------
yaml/gen-maven-dev-2017-11-mailarchivesao.yaml | 1 +
yaml/gen-maven-dev-2017-11-mboxvm.yaml | 1 +
yaml/gens-maven_duplicates_2017.yaml | 3 ++
6 files changed, 70 insertions(+), 37 deletions(-)
[incubator-ponymail-unit-tests] 01/05: allow setting a mock
archived-at for getting around medium archiver discrepancies
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit 66ad0d8d0ad271593b911c6a3ae40ad0cd15d444
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 14:00:08 2021 +0200
allow setting a mock archived-at for getting around medium archiver discrepancies
---
tests/test-generators.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/test-generators.py b/tests/test-generators.py
index 1dbd36f..aaa3daa 100755
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -10,6 +10,7 @@ import yaml
import argparse
import collections
import interfacer
+import email.utils
parse_html = False
nonce = None
@@ -92,6 +93,9 @@ def run_tests(args):
errors = 0
tests_run = 0
yml = yaml.safe_load(open(args.load, 'r'))
+ _env = {}
+ if 'args' in yml and 'env' in yml['args']:
+ _env = yml['args']['env']
generator_names = generators.generator_names() if hasattr(generators, 'generator_names') else ['full', 'medium', 'cluster', 'legacy']
if args.generators:
generator_names = args.generators
@@ -119,6 +123,13 @@ def run_tests(args):
key = test['index']
message_raw = _raw(args, mbox, key)
message = mbox.get(key)
+ # Mock archived-at
+ if 'MOCK_AAT' in _env:
+ mock_aat = email.utils.formatdate(int(_env['MOCK_AAT']), False)
+ try:
+ message.replace_header('archived-at', mock_aat)
+ except:
+ message['archived-at'] = mock_aat
msgid =(message.get('message-id') or '').strip()
dateheader = message.get('date')
if args.skipnodate and not dateheader:
Re: [incubator-ponymail-unit-tests] 02/05: --dropin for quickly
reconfiguring unit tests on the fly
Posted by Daniel Gruno <hu...@apache.org>.
On 03/06/2021 01.33, sebb wrote:
> -1 to this change.
>
> It is not right to arbitrarily change test data this way.
>
> Changes to test data should only be made if there is a genuine reason to do so
> e.g. due to a mistake in the original data or a planned change in the API.
Yes, that is what it is intended for. It's a flag that you can use when
you fundamentally change a generator on purpose, like if we merge in the
new DKIM patch. It's basically there so we won't have to manually
recreate every single test file with the updated parameters, and that's
all I have intended for that flag.
I think you can say "I don't want this unit test result changed", but to
disallow the _option_ of changing a result programatically, I think is
not warranted. The dropin flag is akin to running each generate command
invidually but with the added safety net that it only changes the
specified generator results. Thus I can use it to change all DKIM
results if/when we change the DKIM generator, but leave everything else
as it was. I find it a useful flag.
>
> If a test starts failing, the most likely reason is a bug due to a
> change in the code, not a bug in the test data. >
> (There are of course exceptions, e.g. where a test is dependent on
> timing or other environmental factors)
>
> On Wed, 2 Jun 2021 at 13:23, <hu...@apache.org> wrote:
>>
>> This is an automated email from the ASF dual-hosted git repository.
>>
>> humbedooh pushed a commit to branch master
>> in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
>>
>> commit fb8025f06013811eed9e2ea3e4f7946dde1eea16
>> Author: Daniel Gruno <hu...@apache.org>
>> AuthorDate: Wed Jun 2 14:02:14 2021 +0200
>>
>> --dropin for quickly reconfiguring unit tests on the fly
>> ---
>> runall.py | 7 ++++++-
>> tests/test-generators.py | 11 +++++++++++
>> 2 files changed, 17 insertions(+), 1 deletion(-)
>>
>> diff --git a/runall.py b/runall.py
>> index 556eec8..4b735cb 100755
>> --- a/runall.py
>> +++ b/runall.py
>> @@ -20,7 +20,10 @@ if __name__ == '__main__':
>> parser.add_argument('--gtype', dest='gtype', type=str, nargs='+',
>> help="Run only specified generators (medium, cluster, dkim, full, etc)")
>> parser.add_argument('--yamldir', dest='yamldir', type=str, action='store',
>> - help="Load yaml specs from alternate directory")
>> + help="Load yaml specs from alternate directory")
>> + parser.add_argument('--dropin', dest='dropin', type=str, action='store',
>> + help="If set to a specific generator name, replaces its unit test results with the current "
>> + "output in the yaml tests")
>> parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
>> help = 'Skip Mboxo processing')
>> parser.add_argument('--fof', dest='failonfail', action='store_true',
>> @@ -69,6 +72,8 @@ if __name__ == '__main__':
>> if args.gtype and test_type == 'generators':
>> cliargs.append('--generators')
>> cliargs.extend(args.gtype)
>> + if args.dropin:
>> + cliargs.extend(['--dropin', args.dropin])
>> if args.skipnodate and test_type == 'generators':
>> cliargs.append('--skipnodate')
>> rv = subprocess.check_output(cliargs, env=env)
>> diff --git a/tests/test-generators.py b/tests/test-generators.py
>> index aaa3daa..670d732 100755
>> --- a/tests/test-generators.py
>> +++ b/tests/test-generators.py
>> @@ -10,6 +10,7 @@ import yaml
>> import argparse
>> import collections
>> import interfacer
>> +import time
>> import email.utils
>>
>> parse_html = False
>> @@ -150,9 +151,17 @@ def run_tests(args):
>> errors += 1
>> sys.stderr.write("""[FAIL] %s, index %2u: Expected '%s', got '%s'!\n""" %
>> (gen_type, key, expected, actual))
>> + if args.dropin and gen_type == args.dropin:
>> + if expected != actual:
>> + test['generated'] = actual
>> + else:
>> + test['alternate'] = actual
>> else:
>> print("[PASS] %s index %u" % (gen_type, key))
>> mboxfiles = [] # reset for the next set of tests
>> + if args.dropin and errors:
>> + sys.stderr.write("Writing replacement yaml as --dropin was specified\n")
>> + yaml.safe_dump(yml, open(args.load, "w"), sort_keys=False)
>> print("[DONE] %u tests run, %u failed." % (tests_run, errors))
>> if errors:
>> sys.exit(-1)
>> @@ -174,6 +183,8 @@ def main():
>> help="Root directory of Apache Pony Mail")
>> parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
>> help = 'Skip Mboxo processing')
>> + parser.add_argument('--dropin', dest = 'dropin', type=str,
>> + help = 'Perform drop-in replacement of unit test results for the specified generator type [devs only!]')
>> parser.add_argument('--skipnodate', dest = 'skipnodate', action='store_true',
>> help = 'Skip emails with no Date: header (useful for medium generator tests)')
>> args = parser.parse_args()
Re: [incubator-ponymail-unit-tests] 02/05: --dropin for quickly
reconfiguring unit tests on the fly
Posted by sebb <se...@gmail.com>.
-1 to this change.
It is not right to arbitrarily change test data this way.
Changes to test data should only be made if there is a genuine reason to do so
e.g. due to a mistake in the original data or a planned change in the API.
If a test starts failing, the most likely reason is a bug due to a
change in the code, not a bug in the test data.
(There are of course exceptions, e.g. where a test is dependent on
timing or other environmental factors)
On Wed, 2 Jun 2021 at 13:23, <hu...@apache.org> wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> humbedooh pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
>
> commit fb8025f06013811eed9e2ea3e4f7946dde1eea16
> Author: Daniel Gruno <hu...@apache.org>
> AuthorDate: Wed Jun 2 14:02:14 2021 +0200
>
> --dropin for quickly reconfiguring unit tests on the fly
> ---
> runall.py | 7 ++++++-
> tests/test-generators.py | 11 +++++++++++
> 2 files changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/runall.py b/runall.py
> index 556eec8..4b735cb 100755
> --- a/runall.py
> +++ b/runall.py
> @@ -20,7 +20,10 @@ if __name__ == '__main__':
> parser.add_argument('--gtype', dest='gtype', type=str, nargs='+',
> help="Run only specified generators (medium, cluster, dkim, full, etc)")
> parser.add_argument('--yamldir', dest='yamldir', type=str, action='store',
> - help="Load yaml specs from alternate directory")
> + help="Load yaml specs from alternate directory")
> + parser.add_argument('--dropin', dest='dropin', type=str, action='store',
> + help="If set to a specific generator name, replaces its unit test results with the current "
> + "output in the yaml tests")
> parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
> help = 'Skip Mboxo processing')
> parser.add_argument('--fof', dest='failonfail', action='store_true',
> @@ -69,6 +72,8 @@ if __name__ == '__main__':
> if args.gtype and test_type == 'generators':
> cliargs.append('--generators')
> cliargs.extend(args.gtype)
> + if args.dropin:
> + cliargs.extend(['--dropin', args.dropin])
> if args.skipnodate and test_type == 'generators':
> cliargs.append('--skipnodate')
> rv = subprocess.check_output(cliargs, env=env)
> diff --git a/tests/test-generators.py b/tests/test-generators.py
> index aaa3daa..670d732 100755
> --- a/tests/test-generators.py
> +++ b/tests/test-generators.py
> @@ -10,6 +10,7 @@ import yaml
> import argparse
> import collections
> import interfacer
> +import time
> import email.utils
>
> parse_html = False
> @@ -150,9 +151,17 @@ def run_tests(args):
> errors += 1
> sys.stderr.write("""[FAIL] %s, index %2u: Expected '%s', got '%s'!\n""" %
> (gen_type, key, expected, actual))
> + if args.dropin and gen_type == args.dropin:
> + if expected != actual:
> + test['generated'] = actual
> + else:
> + test['alternate'] = actual
> else:
> print("[PASS] %s index %u" % (gen_type, key))
> mboxfiles = [] # reset for the next set of tests
> + if args.dropin and errors:
> + sys.stderr.write("Writing replacement yaml as --dropin was specified\n")
> + yaml.safe_dump(yml, open(args.load, "w"), sort_keys=False)
> print("[DONE] %u tests run, %u failed." % (tests_run, errors))
> if errors:
> sys.exit(-1)
> @@ -174,6 +183,8 @@ def main():
> help="Root directory of Apache Pony Mail")
> parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
> help = 'Skip Mboxo processing')
> + parser.add_argument('--dropin', dest = 'dropin', type=str,
> + help = 'Perform drop-in replacement of unit test results for the specified generator type [devs only!]')
> parser.add_argument('--skipnodate', dest = 'skipnodate', action='store_true',
> help = 'Skip emails with no Date: header (useful for medium generator tests)')
> args = parser.parse_args()
[incubator-ponymail-unit-tests] 02/05: --dropin for quickly
reconfiguring unit tests on the fly
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit fb8025f06013811eed9e2ea3e4f7946dde1eea16
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 14:02:14 2021 +0200
--dropin for quickly reconfiguring unit tests on the fly
---
runall.py | 7 ++++++-
tests/test-generators.py | 11 +++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/runall.py b/runall.py
index 556eec8..4b735cb 100755
--- a/runall.py
+++ b/runall.py
@@ -20,7 +20,10 @@ if __name__ == '__main__':
parser.add_argument('--gtype', dest='gtype', type=str, nargs='+',
help="Run only specified generators (medium, cluster, dkim, full, etc)")
parser.add_argument('--yamldir', dest='yamldir', type=str, action='store',
- help="Load yaml specs from alternate directory")
+ help="Load yaml specs from alternate directory")
+ parser.add_argument('--dropin', dest='dropin', type=str, action='store',
+ help="If set to a specific generator name, replaces its unit test results with the current "
+ "output in the yaml tests")
parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
help = 'Skip Mboxo processing')
parser.add_argument('--fof', dest='failonfail', action='store_true',
@@ -69,6 +72,8 @@ if __name__ == '__main__':
if args.gtype and test_type == 'generators':
cliargs.append('--generators')
cliargs.extend(args.gtype)
+ if args.dropin:
+ cliargs.extend(['--dropin', args.dropin])
if args.skipnodate and test_type == 'generators':
cliargs.append('--skipnodate')
rv = subprocess.check_output(cliargs, env=env)
diff --git a/tests/test-generators.py b/tests/test-generators.py
index aaa3daa..670d732 100755
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -10,6 +10,7 @@ import yaml
import argparse
import collections
import interfacer
+import time
import email.utils
parse_html = False
@@ -150,9 +151,17 @@ def run_tests(args):
errors += 1
sys.stderr.write("""[FAIL] %s, index %2u: Expected '%s', got '%s'!\n""" %
(gen_type, key, expected, actual))
+ if args.dropin and gen_type == args.dropin:
+ if expected != actual:
+ test['generated'] = actual
+ else:
+ test['alternate'] = actual
else:
print("[PASS] %s index %u" % (gen_type, key))
mboxfiles = [] # reset for the next set of tests
+ if args.dropin and errors:
+ sys.stderr.write("Writing replacement yaml as --dropin was specified\n")
+ yaml.safe_dump(yml, open(args.load, "w"), sort_keys=False)
print("[DONE] %u tests run, %u failed." % (tests_run, errors))
if errors:
sys.exit(-1)
@@ -174,6 +183,8 @@ def main():
help="Root directory of Apache Pony Mail")
parser.add_argument('--nomboxo', dest = 'nomboxo', action='store_true',
help = 'Skip Mboxo processing')
+ parser.add_argument('--dropin', dest = 'dropin', type=str,
+ help = 'Perform drop-in replacement of unit test results for the specified generator type [devs only!]')
parser.add_argument('--skipnodate', dest = 'skipnodate', action='store_true',
help = 'Skip emails with no Date: header (useful for medium generator tests)')
args = parser.parse_args()
[incubator-ponymail-unit-tests] 05/05: Merge branch 'master' of
github.com:apache/incubator-ponymail-unit-tests
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit ca45be0105dfb5b400b1fa90b7461861dc47bdf6
Merge: 8b3387c afce54e
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 14:22:08 2021 +0200
Merge branch 'master' of github.com:apache/incubator-ponymail-unit-tests
tests/test-generators.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[incubator-ponymail-unit-tests] 04/05: set moch archived-at for
these tests
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit 8b3387c02bdf70c84f6ad011181b518b6a7ed911
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 14:20:59 2021 +0200
set moch archived-at for these tests
---
yaml/gen-maven-dev-2017-11-listsao.yaml | 73 +++++++++++++-------------
yaml/gen-maven-dev-2017-11-mailarchivesao.yaml | 1 +
yaml/gen-maven-dev-2017-11-mboxvm.yaml | 1 +
3 files changed, 39 insertions(+), 36 deletions(-)
diff --git a/yaml/gen-maven-dev-2017-11-listsao.yaml b/yaml/gen-maven-dev-2017-11-listsao.yaml
index d6e43be..984185b 100644
--- a/yaml/gen-maven-dev-2017-11-listsao.yaml
+++ b/yaml/gen-maven-dev-2017-11-listsao.yaml
@@ -3,6 +3,7 @@ args:
gen-maven-dev-2017-11-listsao_ponymail.yaml --root ../ponymail
env:
MOCK_GMTIME: '0'
+ MOCK_AAT: '0'
generators:
corpus/maven-dev-2017-11-listsao.mbox:
cluster:
@@ -2891,10 +2892,10 @@ generators:
medium:
- index: 0
message-id: <15...@gitbox.apache.org>
- generated: 140f3eca785a572daff5db884a5747a9b25ba56b7b13ae8eecd78437@<dev.maven.apache.org>
+ generated: 871840ab45cf9f7ed4949c4d12f934cadf49fc1557ffd9d89ab09065@<dev.maven.apache.org>
- index: 1
message-id: <15...@gitbox.apache.org>
- generated: c4f247275981ef7c11a50d7c164a6fdec3429d9a5b4b592ab4b5846b@<dev.maven.apache.org>
+ generated: 0d4bff8e7d3d5ebb58c6277f82d7a56ea8ee6f1855972106faf9f488@<dev.maven.apache.org>
- index: 2
message-id: <20...@giga>
generated: 2717f3eeecddb9566dc6d03659b0853268dc4cee7cb418781ddc9a58@<dev.maven.apache.org>
@@ -2903,16 +2904,16 @@ generators:
generated: 1523d56b7c208502e34d1b542dc7f0e997176d9d98f52b1c281080e0@<dev.maven.apache.org>
- index: 4
message-id: <15...@gitbox.apache.org>
- generated: 8016f116f2481cd60b3424add667d806a63785a9d548a7d9f6551a1a@<dev.maven.apache.org>
+ generated: cb433350575eeec590a2da69c669d8ca4433942f0482653baea99563@<dev.maven.apache.org>
- index: 5
message-id: <15...@gitbox.apache.org>
- generated: af69a5f505646cbc119193c6720a13f6aeaea3fab5ae192255d4cda1@<dev.maven.apache.org>
+ generated: 4517bb46accc639de18f663020ef8a8dd139ca691b5101e02bb69c94@<dev.maven.apache.org>
- index: 6
message-id: <15...@gitbox.apache.org>
- generated: de413103d7a2bdf146f583a9929390e137727ad524402ea752c95736@<dev.maven.apache.org>
+ generated: c834fdce6561d20ee371e7a7752c547e95af2b4c25582b540abd0482@<dev.maven.apache.org>
- index: 7
message-id: <15...@gitbox.apache.org>
- generated: aa43e85947d4ea90e91293a4615e035d00eb07b858acaefb7aa3fb7c@<dev.maven.apache.org>
+ generated: 6148da51e278eedc1b2d6a83669c71c7561b81a51aa97ce553e28863@<dev.maven.apache.org>
- index: 8
message-id: <46...@giga>
generated: 4244e6f2c4cb415a6b7b781627d1ca2e7a30a16d54c8d802b2d7f488@<dev.maven.apache.org>
@@ -2972,7 +2973,7 @@ generators:
generated: fa8cd3d3521e2c38adc7e20ab4a00a6298ace25a1f0840016efec378@<dev.maven.apache.org>
- index: 27
message-id: <15...@gitbox.apache.org>
- generated: afda811ca0fec82b374b90c3ec20f2b386163228ec47215fe213e98d@<dev.maven.apache.org>
+ generated: a7706b1696776d954594f471d8a50e3b53380aaa712834e5bc7abbb4@<dev.maven.apache.org>
- index: 28
message-id: <11...@giga>
generated: 1fbe2b7acb88ea887f642573be28fcc3f52ce1b49bf025b9764033eb@<dev.maven.apache.org>
@@ -2981,31 +2982,31 @@ generators:
generated: 4ddb643df228bff0198243843221e1d03fcd6b9ddc3329c51ada268c@<dev.maven.apache.org>
- index: 30
message-id: <15...@gitbox.apache.org>
- generated: e200425ae10b8a1a821c18b4ad23c9e9e00cd8baec4f2a392539c3b6@<dev.maven.apache.org>
+ generated: 537115d45c99e7e8e724236b5d5b3638465bbaafd4b813351fdec122@<dev.maven.apache.org>
- index: 31
message-id: <15...@gitbox.apache.org>
- generated: 19f785cbdce708e5dad67164f826ae2422541d2355f969f399996080@<dev.maven.apache.org>
+ generated: 3f8b1736439503881c6666f1fcaa93c01bea0977c90866d54468cd2d@<dev.maven.apache.org>
- index: 32
message-id: <15...@gitbox.apache.org>
- generated: 0030442e9f389126b2fd377d29a0bdbf272b21129c072919f19c0106@<dev.maven.apache.org>
+ generated: 537115d45c99e7e8e724236b5d5b3638465bbaafd4b813351fdec122@<dev.maven.apache.org>
- index: 33
message-id: <15...@gitbox.apache.org>
- generated: c0aed1c42fd0d6b1f2bbb3a5d715ffcf8b899a4c475121bb868a9b96@<dev.maven.apache.org>
+ generated: d0bd0d9cd5698eea59dd9349fd5ba32386a7e22db65f190458f9800b@<dev.maven.apache.org>
- index: 34
message-id: <15...@gitbox.apache.org>
- generated: 374996606d7e8a6d7f31207b1f71375b8a3d40ac0d14b9aeb1159b5d@<dev.maven.apache.org>
+ generated: e1494276a1b4389a5f9ca4131a271a236f351c0c0a5aa8111d7ff999@<dev.maven.apache.org>
- index: 35
message-id: <15...@gitbox.apache.org>
- generated: ab983fb08c5cc2cbe70138c510551ced2783d8931d7cf0031155b349@<dev.maven.apache.org>
+ generated: d0bd0d9cd5698eea59dd9349fd5ba32386a7e22db65f190458f9800b@<dev.maven.apache.org>
- index: 36
message-id: <15...@gitbox.apache.org>
- generated: de2efe10ec1fa9cbb2940a1a9ab2fd327382376e261e3d5aa6d411c9@<dev.maven.apache.org>
+ generated: 4735b5e71b859bc69f11938cc1580b433ebb5c8cd1f673b667b569dc@<dev.maven.apache.org>
- index: 37
message-id: <15...@gitbox.apache.org>
- generated: 37c7fb5f9e6abc8a96e5800ea3cc9c85a2cad5e1fc5cfad2ae21e5a7@<dev.maven.apache.org>
+ generated: 0869e2d9f6ccee0e8242691cdb6f37e72fd6ed7a9cac5f49486931a7@<dev.maven.apache.org>
- index: 38
message-id: <15...@gitbox.apache.org>
- generated: 04e224e51055b4f06785be88d1a872df4daf34ff389ecc399effe8a7@<dev.maven.apache.org>
+ generated: 14080a525e2589b12dfae5e3f4b786c359d5fcfa3fcb9c0367cf6a1b@<dev.maven.apache.org>
- index: 39
message-id: <CA...@mail.gmail.com>
generated: 192d9c6a4c7f424fd37256fba2270a060f8f5ff95d42e3a6e6135a26@<dev.maven.apache.org>
@@ -3056,7 +3057,7 @@ generators:
generated: d11b612688fa6c8ff3122187268641bf367dac8f18dbb3a99be0431a@<dev.maven.apache.org>
- index: 55
message-id: <15...@gitbox.apache.org>
- generated: dea4ec3375ce005eeb7450c0a56dd2fb8f8a78f0e9e16c8c9a55f012@<dev.maven.apache.org>
+ generated: 7903b9625fa1af668f23ac3b99de3a4ccb5c149fdb1a157204976333@<dev.maven.apache.org>
- index: 56
message-id: <CA...@mail.gmail.com>
generated: c02bf8aa2f192b17de7bfc66b5176765803b98d27547807b84b8c4b3@<dev.maven.apache.org>
@@ -3182,16 +3183,16 @@ generators:
generated: 856dbfe4ef5c319ac55e973febc139e911fb445da4d377a5dce2a639@<dev.maven.apache.org>
- index: 97
message-id: <15...@gitbox.apache.org>
- generated: 8213b134a1dada93be4a22963799bfb56137efbeacc46f3608ca35e6@<dev.maven.apache.org>
+ generated: f1802d7dbb4357ad1bf4f89481736c184137616e152a2ceb001e0fd1@<dev.maven.apache.org>
- index: 98
message-id: <20...@copperhead.int.arc7.info>
generated: 26cd8cfd248e53d4dff4e60fe6b2e158d1a4f9af0b5b7eeb0fa7a264@<dev.maven.apache.org>
- index: 99
message-id: <15...@gitbox.apache.org>
- generated: 11cde9a34aa5419a0654f0b95f9dc71b3b4818dfa5fa61b6e9cd5a2d@<dev.maven.apache.org>
+ generated: 1ea6957e707030436d5a861ae23a0c3bf82546e47f60d044800febcc@<dev.maven.apache.org>
- index: 100
message-id: <15...@gitbox.apache.org>
- generated: 4415f53442dd94014e934cff43fa5f8425ee97af4edbd9bfa5316016@<dev.maven.apache.org>
+ generated: f9c2c1663a84d7c65b882cd4a9dbe69938d819442259d5e4f182fbc0@<dev.maven.apache.org>
- index: 101
message-id: <12...@talios.com>
generated: 621eca0c2b50d4ffe3e9c6aa1f90bd94053d5ad396d86e5389603877@<dev.maven.apache.org>
@@ -3566,31 +3567,31 @@ generators:
generated: bcc6299bb3cceaf8e06bd5d49915d5aa5116ac9f46e49766c5d1638c@<dev.maven.apache.org>
- index: 225
message-id: <15...@gitbox.apache.org>
- generated: c0a0670ef2cd58c81f31592d8d25fc24dd85b3a9c68f8e1ae01e91c1@<dev.maven.apache.org>
+ generated: 05ca5435de932d348c6ce5452874c6058d71a839f16de1263d1e4336@<dev.maven.apache.org>
- index: 226
message-id: <15...@gitbox.apache.org>
- generated: 72614e6677bee097ae209841666e7b8b58e8b69d235fa44cbec6d1e4@<dev.maven.apache.org>
+ generated: edf1d80a0fd4286903d88716a9de7cfb00f5b6ec00fac3a54b3fb56d@<dev.maven.apache.org>
- index: 227
message-id: <15...@gitbox.apache.org>
- generated: e53624759bf6a4238eeb6beefe0c2703e07ea39cdb55a98bae32031c@<dev.maven.apache.org>
+ generated: bcfac5d6e9ce3b9b4c6911dca6dd3d0c6eca86efe39b4cf5d7e189bb@<dev.maven.apache.org>
- index: 228
message-id: <15...@gitbox.apache.org>
- generated: 21a82316085393a3632f46d93ede60945181b98c992cae8315bbf29e@<dev.maven.apache.org>
+ generated: 39527dbb059379fe52ab718de3cc19b5c1357b3ae5471e13cd49f529@<dev.maven.apache.org>
- index: 229
message-id: <15...@gitbox.apache.org>
- generated: 926357eb7d1da887af00ed2f983abb3c9cf3fc5e8484d5ee440bbee4@<dev.maven.apache.org>
+ generated: 5e997a8658d16c9002dcd0effef6d65b0df611752e14604380f719c9@<dev.maven.apache.org>
- index: 230
message-id: <15...@gitbox.apache.org>
- generated: df5350eef5d7759f39e69c8b9f715cc0f7aa50b91eea265a0209d880@<dev.maven.apache.org>
+ generated: 673400b22abd0343318a8c931e95b020af81849a120c4b49819423f8@<dev.maven.apache.org>
- index: 231
message-id: <15...@gitbox.apache.org>
- generated: 92c9a68f12af658370fa3270a4ef090f40be78855e2cbeeceaec0d6c@<dev.maven.apache.org>
+ generated: 4e65f23764889fe2a22c6448c2a11ef2ad355c617ea6567d3d3f85b7@<dev.maven.apache.org>
- index: 232
message-id: <15...@gitbox.apache.org>
- generated: d12949963d19c1160618669a23ac9b55ecc5bb1441c0d2258a62f751@<dev.maven.apache.org>
+ generated: 7b2ab4aa54c4daba5b4b820535faf2c4bca8281bc8da1312b099d9fb@<dev.maven.apache.org>
- index: 233
message-id: <15...@gitbox.apache.org>
- generated: 86cc8eb4ad8622cfa9b396877a8007aea9654a719ce499bc3c6e3902@<dev.maven.apache.org>
+ generated: c83c2fbe73a7f3ee3283ff47dc53ce8fe5b757d88fdfcdd4913b9e56@<dev.maven.apache.org>
- index: 234
message-id: <20...@git1-us-west.apache.org>
generated: 71b415a22640b82623fb5d1d264c5fb49600ebcae35a525cabc6b6db@<dev.maven.apache.org>
@@ -3599,10 +3600,10 @@ generators:
generated: eaab8f9ef1cfe26b84780f936993c4769a7052a54171482baa65956e@<dev.maven.apache.org>
- index: 236
message-id: <15...@gitbox.apache.org>
- generated: 605313e16e46442ec38ff53d156228f55571825f7a6c07fa76061920@<dev.maven.apache.org>
+ generated: 15f993ce2361122b25aea5b4e5178e3feba106d2de5faccee9828dd0@<dev.maven.apache.org>
- index: 237
message-id: <15...@gitbox.apache.org>
- generated: 4e6911b692d94d06993c27a32e431220e49df46b72f6842bae49ba48@<dev.maven.apache.org>
+ generated: da6a629ec3ea88921bbd686fb0ec95ca4807a226e1aed435b71175a4@<dev.maven.apache.org>
- index: 238
message-id: <20...@dd17332.kasserver.com>
generated: bbbb457e4780986b727820a62ebd2f1da6c18394ad0bf618fa8ef09c@<dev.maven.apache.org>
@@ -3617,7 +3618,7 @@ generators:
generated: 3b89cca8a683eca4620f90739e718353f738da5666fdb1398b0ddbe7@<dev.maven.apache.org>
- index: 242
message-id: <15...@gitbox.apache.org>
- generated: 1b7b6e71a6976c5d14f764e248b694fac1617e5dc5f44e27cab97e42@<dev.maven.apache.org>
+ generated: 971f007799fd532830946d9b5d0e4e4ede470177ef46f5a93c936468@<dev.maven.apache.org>
- index: 243
message-id: <CA...@mail.gmail.com>
generated: 3c9e2007fe8e2e7c44fe88ad71c6e46b1bd008d95856ca64d703a098@<dev.maven.apache.org>
@@ -3629,10 +3630,10 @@ generators:
generated: 946b3ac0e41863a21152ebe48eef2c20ba0a65036b599d5b55eecf48@<dev.maven.apache.org>
- index: 246
message-id: <15...@gitbox.apache.org>
- generated: 83dab6d46f298393b5226ca3ffa7165df62b7f650eaf90855c91756e@<dev.maven.apache.org>
+ generated: e0aed543aebd3cbafe84f3fff429c03f056feeaddb8b907a7c077e9d@<dev.maven.apache.org>
- index: 247
message-id: <15...@gitbox.apache.org>
- generated: 18076b3ec2f5bac880f22726f405672c649e6eec042c73898521b918@<dev.maven.apache.org>
+ generated: daf1c9fbb8ebbebf48b02a7a5519ed404b487488941b023a8dd5eb85@<dev.maven.apache.org>
- index: 248
message-id: <CA...@mail.gmail.com>
generated: b09829f7b99cb054d8ea9af484e7b90f3dc9eb2b5bd430d7ed43c72b@<dev.maven.apache.org>
@@ -3641,10 +3642,10 @@ generators:
generated: 57f84e579ceddf0c122802dc2d6de6b759763c7bd1515b038331c07a@<dev.maven.apache.org>
- index: 250
message-id: <15...@gitbox.apache.org>
- generated: 757b4b851a5e083bcff0ce6048cc68c04bc20269a643e37d951d71ab@<dev.maven.apache.org>
+ generated: 7e5595b2ca0836b3845f04e5041e3e7286c2883907cf3436b47f1f09@<dev.maven.apache.org>
- index: 251
message-id: <15...@gitbox.apache.org>
- generated: 98791ae6af877cee74a2e7e514d8979cd8175219d36783c3a7b0e1c5@<dev.maven.apache.org>
+ generated: 6a4d505c50f23cb209ae41a6b94e8f6e3a8af19b832c74214dd0349e@<dev.maven.apache.org>
- index: 252
message-id: <gi...@git.apache.org>
generated: da9546b71e341d402edc121ce3b857fdf42e7aac527e4a0881b1deae@<dev.maven.apache.org>
diff --git a/yaml/gen-maven-dev-2017-11-mailarchivesao.yaml b/yaml/gen-maven-dev-2017-11-mailarchivesao.yaml
index 733e9ad..35bf7c6 100644
--- a/yaml/gen-maven-dev-2017-11-mailarchivesao.yaml
+++ b/yaml/gen-maven-dev-2017-11-mailarchivesao.yaml
@@ -3,6 +3,7 @@ args:
--generate gen-maven-dev-2017-11-mailarchivesao_ponymail.yaml --root ../ponymail
env:
MOCK_GMTIME: '0'
+ MOCK_AAT: '0'
generators:
corpus/maven-dev-2017-11-mailarchivesao.mbox:
cluster:
diff --git a/yaml/gen-maven-dev-2017-11-mboxvm.yaml b/yaml/gen-maven-dev-2017-11-mboxvm.yaml
index 43e49be..8626ec1 100644
--- a/yaml/gen-maven-dev-2017-11-mboxvm.yaml
+++ b/yaml/gen-maven-dev-2017-11-mboxvm.yaml
@@ -3,6 +3,7 @@ args:
gen-maven-dev-2017-11-mboxvm_ponymail.yaml --root ../ponymail
env:
MOCK_GMTIME: '0'
+ MOCK_AAT: '0'
generators:
corpus/maven-dev-2017-11-mboxvm.mbox:
cluster:
[incubator-ponymail-unit-tests] 03/05: set up mock archived-at for
this test
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
commit b4abb3c4496accdd03da901ee0e0a51a6c54823c
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 14:02:57 2021 +0200
set up mock archived-at for this test
---
yaml/gens-maven_duplicates_2017.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/yaml/gens-maven_duplicates_2017.yaml b/yaml/gens-maven_duplicates_2017.yaml
index f2b9896..f1e700b 100644
--- a/yaml/gens-maven_duplicates_2017.yaml
+++ b/yaml/gens-maven_duplicates_2017.yaml
@@ -1,3 +1,6 @@
+args:
+ env:
+ MOCK_AAT: "0"
generators:
corpus/maven_duplicates_2017_mboxvm.mbox: null
corpus/maven_duplicates_2017_mailarchivesao.mbox: null