Don't call /_api/analyzer/${name} in 3.6, because analyzers are propagated in the cluster with an up-to 60 second delay in that version. Waiting for the analyzers to propagate to all coordinators will very likely make the tests time out.
In 3.7, the analyzer propagation is almost instantenously, so we can rely on the mechanism of calling /_api/analyzer/${name} on all coordinators.
Note: this requires that the backend version number is set correctly when running the tests.
In src/tests/_config.ts, there is:
Don't call
/_api/analyzer/${name}
in 3.6, because analyzers are propagated in the cluster with an up-to 60 second delay in that version. Waiting for the analyzers to propagate to all coordinators will very likely make the tests time out. In 3.7, the analyzer propagation is almost instantenously, so we can rely on the mechanism of calling/_api/analyzer/${name}
on all coordinators.Note: this requires that the backend version number is set correctly when running the tests. In
src/tests/_config.ts
, there is:So
ARANGO_VERSION
should be set to30600
or30700
or whatever is accurate when running the tests. Otherwise version3.99.99
will be assumed!