tests/artifacts/PURPOSE
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Tue, 20 Sep 2022 13:38:07 -0400
branchstable
changeset 49492 b3e77d536b53
parent 39490 966950954fda
permissions -rw-r--r--
tests: fix the flaky test test-logtoprocess.t The main change is that we're waiting for the [touched] file to appear for 5 seconds instead of 0.1 seconds. Also, instead of implementing wait-on-file from scratch, we use the existing one from testlib/ that works well.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39490
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     1
This directory is meant to cache artifacts useful for tests (such as bundle).
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     2
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     3
Those artifacts need to be cached because they are slow to regenerate on each
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     4
test but too large to be tracked within the repository. They are not expected
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     5
to change between each run and can be cached.
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     6
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     7
The `./scripts/` contains code to generate the artifact while the `cache`
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     8
directory contains resulting artifact.
966950954fda tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     9