Skip to content

Commit

Permalink
ContainerHostEventsIT - some clean up
Browse files Browse the repository at this point in the history
- removing unnecessary config prop

Change-Id: I7f0b4ee0385517adbf5916db9103f4fb49551f57
Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/44163
Closures-Verified: jenkins <[email protected]>
Upgrade-Verified: jenkins <[email protected]>
PG-Verified: jenkins <[email protected]>
Bellevue-Verified: jenkins <[email protected]>
CS-Verified: jenkins <[email protected]>
Reviewed-by: Lazarin Lazarov <[email protected]>
  • Loading branch information
afilipov1 committed Sep 17, 2018
1 parent 0fd9aaf commit 59f9183
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

Expand Down Expand Up @@ -56,20 +55,6 @@ public static void afterClass() throws Exception {
serviceClient = ServiceClientFactory.createServiceClient(null);
}

@Before
public void setUp() throws Exception {
// set URL_CONNECTION_READ_TIMEOUT
ConfigurationService.ConfigurationState configTimeout = new ConfigurationService.ConfigurationState();
configTimeout.key = ConfigurationUtil.URL_CONNECTION_READ_TIMEOUT;
configTimeout.value = "10000";
configTimeout.documentSelfLink = UriUtils.buildUriPath(ConfigurationService.ConfigurationFactoryService.SELF_LINK,
ConfigurationUtil.URL_CONNECTION_READ_TIMEOUT);

ConfigurationService.ConfigurationState updatedConfigTimeout = postDocument(ConfigurationService.ConfigurationFactoryService.SELF_LINK, configTimeout);
assertEquals(configTimeout.key, updatedConfigTimeout.key);
assertEquals(configTimeout.value, updatedConfigTimeout.value);
}

@After
public void cleanUp() throws Exception {
// disable eventual consistency
Expand Down

0 comments on commit 59f9183

Please sign in to comment.