From 8dd8e9b0255c9cde7bd55fbd3bfeb9e37dc871d4 Mon Sep 17 00:00:00 2001 From: gezimbll Date: Tue, 25 Oct 2022 03:26:52 -0400 Subject: [PATCH] coverage test config --- config/eescfg_test.go | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/config/eescfg_test.go b/config/eescfg_test.go index 856465a36..6a2b15840 100644 --- a/config/eescfg_test.go +++ b/config/eescfg_test.go @@ -44,7 +44,15 @@ func TestEESClone(t *testing.T) { "mysqlDSNParams": { "allowOldPasswords": "true", "allowNativePasswords": "true", + }, + + "elsIndex":"test2", + + + + + }, "timezone": "local", "filters": ["randomFiletrs"], @@ -64,6 +72,36 @@ func TestEESClone(t *testing.T) { ], }, }` + + /* "kafkaTopic", + "amqpQueueID", + "amqpRoutingKey", + "amqpExchangeType", + "awsRegion", + "awsKey", + "awsSecret" + "awsToken", + "sqsQueueID", + "s3BucketID", + "s3FolderPath", + "natsJetStream", + "natsSubject", + "natsJWTFile", + "natsSeedFile", + "natsCertificateAuthority", + "natsClientCertificate", + "natsClientKey", + "natsJetStreamMaxWait", + "rpcCodec", + "serviceMethod", + "keyPath", + "certPath", + "caPath", + "tls", + "connIDs", + "rpcConnTimeout", + "rpcReplyTimeout", + "rpcAPIOpts"*/ expected := &EEsCfg{ Enabled: true, AttributeSConns: []string{utils.ConcatenatedKey(utils.MetaInternal, utils.MetaAttributes), "*conn1"}, @@ -177,6 +215,7 @@ func TestEESClone(t *testing.T) { "allowOldPasswords": "true", "allowNativePasswords": "true", }, + ElsIndex: utils.StringPointer("test"), }, }, },