Closed DMRobertson closed 3 years ago
I was mistaken.
kegan:
there's a POSTGRES env var which controls if sytest tests dendrite in postgres or sqlite which modifies the dendrite config YAML, but likely doesn't touch the database setup code
neilalexander:
The postgres instance still gets set up in sytest even when you run Dendrite in SQLite mode, yeah It just gets left unused
I think you can spot this in the perl by looking for $ENV{'POSTGRES'}
. Sorry for the false alarm.
Judging by the buildkite config and from discussion in #synapse-dev:matrix.org we expect dendrite to work with sqlite.
Change dendrite_sytest.sh to only fire off postgres if we need it to. Can probably nick the internals of synapse_sytest.sh.