~samwhited/xmpp

075291dcb2bd574fad7f17da0db6bd8129edf7dd — Sam Whited 2 months ago 710c4ae xtime_ejabberd_integration
xtime: re-enable ejabberd integration tests

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 6 insertions(+), 7 deletions(-)

M xtime/integration_test.go
M xtime/integration_test.go => xtime/integration_test.go +6 -7
@@ 16,6 16,7 @@ import (
	"mellium.im/sasl"
	"mellium.im/xmpp"
	"mellium.im/xmpp/internal/integration"
	"mellium.im/xmpp/internal/integration/ejabberd"
	"mellium.im/xmpp/internal/integration/prosody"
	"mellium.im/xmpp/xtime"
)


@@ 27,13 28,11 @@ func TestIntegrationRequestTime(t *testing.T) {
	)
	prosodyRun(integrationRequestTime)

	// See: https://github.com/processone/ejabberd/issues/3454
	//
	// ejabberdRun := ejabberd.Test(context.TODO(), t,
	// 	integration.Log(),
	// 	ejabberd.ListenC2S(),
	// )
	// ejabberdRun(integrationRequestTime)
	ejabberdRun := ejabberd.Test(context.TODO(), t,
		integration.Log(),
		ejabberd.ListenC2S(),
	)
	ejabberdRun(integrationRequestTime)
}

func integrationRequestTime(ctx context.Context, t *testing.T, cmd *integration.Cmd) {