MCPcopy Create free account
hub / github.com/daodst/chat / TestFederationAPIJoinThenKeyUpdate

Function TestFederationAPIJoinThenKeyUpdate

federationapi/federationapi_test.go:156–160  ·  view source on GitHub ↗

Regression test to make sure that /send_join is updating the destination hosts synchronously and isn't relying on the roomserver.

(t *testing.T)

Source from the content-addressed store, hash-verified

154// Regression test to make sure that /send_join is updating the destination hosts synchronously and
155// isn't relying on the roomserver.
156func TestFederationAPIJoinThenKeyUpdate(t *testing.T) {
157 test.WithAllDatabases(t, func(t *testing.T, dbType test.DBType) {
158 testFederationAPIJoinThenKeyUpdate(t, dbType)
159 })
160}
161
162func testFederationAPIJoinThenKeyUpdate(t *testing.T, dbType test.DBType) {
163 base, close := testrig.CreateBaseDendrite(t, dbType)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected