Commit 7f6ad9a6a635431a7175fb9fea5601dc1dbc670c
1 parent
80b2cffc
Fix Test BaseHttpDeviceApiTest.testGetAttributes
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -64,6 +64,7 @@ public abstract class BaseHttpDeviceApiTest extends AbstractControllerTest { | @@ -64,6 +64,7 @@ public abstract class BaseHttpDeviceApiTest extends AbstractControllerTest { | ||
64 | mockMvc.perform( | 64 | mockMvc.perform( |
65 | asyncDispatch(doPost("/api/v1/" + deviceCredentials.getCredentialsId() + "/attributes", attrMap, new String[]{}).andReturn())) | 65 | asyncDispatch(doPost("/api/v1/" + deviceCredentials.getCredentialsId() + "/attributes", attrMap, new String[]{}).andReturn())) |
66 | .andExpect(status().isOk()); | 66 | .andExpect(status().isOk()); |
67 | + Thread.sleep(2000); | ||
67 | doGetAsync("/api/v1/" + deviceCredentials.getCredentialsId() + "/attributes?clientKeys=keyA,keyB,keyC").andExpect(status().isOk()); | 68 | doGetAsync("/api/v1/" + deviceCredentials.getCredentialsId() + "/attributes?clientKeys=keyA,keyB,keyC").andExpect(status().isOk()); |
68 | } | 69 | } |
69 | 70 |