• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why do my tests contact http://configuration.apple.com ?? (Or, what's ISS_DMConfig?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why do my tests contact http://configuration.apple.com ?? (Or, what's ISS_DMConfig?)


  • Subject: Re: Why do my tests contact http://configuration.apple.com ?? (Or, what's ISS_DMConfig?)
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 9 Jan 2008 18:10:45 -0800

On Jan 9, 2008, at 11:05 AM, Jonathan del Strother wrote:

My SenTestingKit tests were taking a lot longer to run than usual, so
I started poking around.  The main thread seems to be getting blocked
on startup while something called ISS tries to fetch
http://configuration.apple.com/configurations/internetservices/issupport/1_27a4cv2b6061/clientConfig.plist

I'm guessing it's a .mac / syncservices related thing (?) but my code
doesn't use either, so I'm a little confused why it's trying to do
this.  Here's the main thread stacktrace - any ideas?

I suspect your code is linking against - or a framework you use is linking against - DotMacKit. OCUnit traverses the entire class hierarchy to locate SenTest subclasses. As a side-effect of even examining a class, the Objective-C runtime will send +load and +initialize to the class. The stack trace indicates that the + [ISS_DMConfig initialize] is sending +[ISS_DMUtilities _fetchConfigsWithURL:] which eventually causes network traffic to occur.


If this is causing hangs when trying to run tests against your code, please file a Radar against DotMacKit using http://bugreport.apple.com -- no +load or +initialize method should have side-effects like connecting to the window server or connecting to the network.

  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Why do my tests contact http://configuration.apple.com ?? (Or, what's ISS_DMConfig?) (From: "Jonathan del Strother" <email@hidden>)

  • Prev by Date: IB3.0 bug? IB3 won't let me move any new objects with the mouse
  • Next by Date: Re: IB3.0 bug? IB3 won't let me move any new objects with the mouse
  • Previous by thread: Re: Why do my tests contact http://configuration.apple.com ?? (Or, what's ISS_DMConfig?)
  • Next by thread: XCode Newbie
  • Index(es):
    • Date
    • Thread