Commit 1789c9d4 authored by Omkar Hegde's avatar Omkar Hegde Committed by Erich Keane

Changing occlient get request query

Since the server starts on any random port, the test
engineers have to do a multicast discovery before sending
a unciast request. Increasing the request query "power" value
to account for this delay. This is related to IOT 610.

Change-Id: Ibc5805cc2dc4a7236800230ab380aa7a1481edd0
Signed-off-by: default avatarOmkar Hegde <omkar.m.hegde@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1698Reviewed-by: default avatarMandeep Shetty <mandeep.shetty@intel.com>
Reviewed-by: default avatarMark Tung <mark.y.tung@intel.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarErich Keane <erich.keane@intel.com>
parent 32af9585
......@@ -663,8 +663,8 @@ int InitGetRequest(OCQualityOfService qos, uint8_t withVendorSpecificHeaderOptio
// ocserver is written to only process "power<X" query.
if (getWithQuery)
{
OC_LOG(INFO, TAG, "Using query power<30");
query << "?power<30";
OC_LOG(INFO, TAG, "Using query power<50");
query << "?power<50";
}
if (withVendorSpecificHeaderOptions)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment