diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-16 13:52:46 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-16 13:52:46 +0200 |
commit | dbd900371466edfdc7bb7f09080c6698e4f8e647 (patch) | |
tree | 46942c1b8956794da080bd0582f307d2ae618701 /test/request.go | |
parent | a08be6b395949a74efc8115a726112d64e96b44d (diff) | |
download | bottin-dbd900371466edfdc7bb7f09080c6698e4f8e647.tar.gz bottin-dbd900371466edfdc7bb7f09080c6698e4f8e647.zip |
Disable reconnect in tests + some cosmetic changesbug/message-id
Diffstat (limited to 'test/request.go')
-rw-r--r-- | test/request.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/request.go b/test/request.go index b693211..adde22e 100644 --- a/test/request.go +++ b/test/request.go @@ -13,8 +13,6 @@ func (inst *instance) Add_Request(dn string, attributes map[string][]string) err //Send the request err := inst.logging.Add(req) - //@FIXME: Remove when you try to correct the bug MessageID - inst.Reconnect() return err } @@ -36,8 +34,6 @@ func (inst *instance) Modify_Request(dn string, add_attributes, delete_attribute } err := inst.logging.Modify(modifyReq) - //@FIXME: Remove when you try to correct the bug MessageID - inst.Reconnect() return err } @@ -45,8 +41,6 @@ func (inst *instance) Delete_Request(dn string) error { del := ldap.NewDelRequest(dn, nil) err := inst.logging.Del(del) - //@FIXME: Remove when you try to correct the bug MessageID - inst.Reconnect() return err } @@ -61,7 +55,5 @@ func (inst *instance) Search_Request(dn, filter string, name_attributes []string res, err := inst.logging.Search(searchReq) logging.Debugf("Search Request made with: dn: %s, filter: %s, attributes: %s. \n", dn, filter, name_attributes) - //@FIXME: Remove when you try to correct the bug MessageID - inst.Reconnect() return res, err } |