aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Baumgart2010-09-22 12:32:29 (EDT)
committerJens Baumgart2010-09-22 12:32:29 (EDT)
commitd971711a648ac233c7941f63342aa6822cc7c5a5 (patch)
tree3265e325dd9c8f382d96c4ac8cee0275983cae5b
parent2b1814e12235a968ccfffc14231ddd491b43ecdc (diff)
downloadegit-d971711a648ac233c7941f63342aa6822cc7c5a5.zip
egit-d971711a648ac233c7941f63342aa6822cc7c5a5.tar.gz
egit-d971711a648ac233c7941f63342aa6822cc7c5a5.tar.bz2
Fix GitRepositoriesViewFetchAndPushTestrefs/changes/50/1650/1
GitRepositoriesViewFetchAndPushTest.testPushToOrigin failed on Linux. Reason was unsaved config. Change-Id: I96d9328d7ee7ab5377d80bdee3cfeda48aa52252 Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java
index 5eac99a..6f4c7e4 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java
@@ -93,6 +93,7 @@ public class GitRepositoriesViewFetchAndPushTest extends
// add the configuration for push
repository.getConfig().setString("remote", "origin", "push",
"refs/heads/*:refs/remotes/origin/*");
+ repository.getConfig().save();
myRepoViewUtil.getRemotesItem(tree, clonedRepositoryFile).expand().getNode(
"origin").expand().getNode(1).select();