Extend asynchronous API socket timeout 93/43593/5
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 10 Jul 2015 10:31:40 +0000 (12:31 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 12 Aug 2015 12:30:36 +0000 (14:30 +0200)
[Problem] Encryption and decryption may take much longer than 10s. In such case it fails because of timeout.
[Solution] Extend timeout to 60s.

[Verification] Run ckm-tests --group=CKM_ENCRYPTION_DECRYPTION

Change-Id: I14c4084d7c44d310ab69649bd55e608f1b627204

src/manager/client-async/descriptor-set.h

index 7e166ba..7c70be1 100644 (file)
@@ -80,7 +80,7 @@ public:
      * @throws Timeout exception in case of timeout
      * @throws InternalError in case of other error
      */
-    void wait(int timeout_ms = 10000);
+    void wait(int timeout_ms = 60000);
     /*
      * Removes and closes all descriptors
      */