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 13:28:16 UTC

[incubator-ponymail-unit-tests] branch master updated: Note about MOCK_AAT

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


The following commit(s) were added to refs/heads/master by this push:
     new fe96095  Note about MOCK_AAT
fe96095 is described below

commit fe960950d78b42dd996db361f14108c2e316f5c9
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 2 15:26:53 2021 +0200

    Note about MOCK_AAT
---
 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 7301414..a833032 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ CLI args for `runall.py`:
 Environment variables:
 - `PYTHONHASHSEED=0`: this ensures that Sets etc return their entries in a deterministic order
 - `MOCK_GMTIME=0`: override time.gmtime() to use the value '0' if none is provided
+- `MOCK_AAT=0`: override archived-at datetimes to unix epoch. Used for certain medium generator tests
   
 The above variables are useful for some tests to ensure reproducability.
 However using them may mask bugs in the code, so they should only be used where necessary.