Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Strange messages when running EGit tests on OS X

10 nov 2010 kl. 01:26 skrev Matthias Sohn:

> 2010/11/9 Robin Rosenberg <robin.rosenberg@xxxxxxxxxx>
> 
>> [INFO] Command line:
>>       /bin/sh -c cd /Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test
>> && /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
>> -Dosgi.noShutdown=false -Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=x86_64
>> -Xmx512m -XX:MaxPermSize=256m -jar
>> /Users/me/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.0.201.R35x_v20090715/org.eclipse.equinox.launcher-1.0.201.R35x_v20090715.jar
>> -data
>> /Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test/target/work/data -dev
>> file:/Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test/target/dev.properties
>> -install /Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test/target/work
>> -configuration
>> /Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test/target/work/configuration
>> -application org.sonatype.tycho.surefire.osgibooter.uitest -testproperties
>> /Users/me/SW/egitcontrib/egit/org.eclipse.egit.ui.test/target/surefire.properties
>> -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.sdk.ide
>> -nouithread
>> 2010-11-09 21:59:44.566 java[10966:1303] *** __NSAutoreleaseNoPool():
>> Object 0x10062d180 of class NSCFString autoreleased with no pool in place -
>> just leaking
>> 
[...]

>> 
>> a ton more and then it hangs.
>> 
>> Does anyone else get further on OSX?
>> 
> 
> I had the same problem when running tests from Maven, adding
> -XstartOnFirstThread to vm parameters for ui tests
> fixes this problem on my Mac:
> <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m
> -XstartOnFirstThread</ui.test.vmargs>
> 
> I came to this idea when reading
> http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg06550.html

That worked better. Thanks. I still get a lot of failures though. The first one did not appear the
second time around.

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
  testRemoveRepositoryWithProjectsYes(org.eclipse.egit.ui.view.repositories.GitRepositoriesViewRepoHandlingTest)

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find widget.
  testOpenHistoryOnFileFolderFilter(org.eclipse.egit.ui.test.history.HistoryViewTest)

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find menu: [Show In, History]

  testOpenHistoryOnProject(org.eclipse.egit.ui.test.history.HistoryViewTest)
  testAddCommit(org.eclipse.egit.ui.test.history.HistoryViewTest)
  testAddBranch(org.eclipse.egit.ui.test.history.HistoryViewTest)
  testAddTag(org.eclipse.egit.ui.test.history.HistoryViewTest)
  testCheckOut(org.eclipse.egit.ui.test.history.HistoryViewTest)

-- robin



Back to the top