Skip navigation
Currently Being Moderated

FlexUnit tests fail due to missing sound card on headless CI server

Nov 2, 2011 4:21 AM

Tags: #test #flex #server #sound #flexunit #flash_player #unit_testing #sound_card #continuous_integration #jenkins



I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process.  Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch of errors complaining about the missing sound card (which obviously, a headless virtual server doesn't have), and stops execution of the tests entirely. 


I am working around this problem by only running sound-related tests on my local machine, but since the entire purpose of a CI server is to make sure every commit runs through ALL the available unit tests, I was wondering if there is any way to make Flash Player "think" a sound card is available, much in the same way that Xvnc allows me to work without a physical monitor.  Does anyone here have experience with this kind of problem?  Or better yet: Is there a best practice or solution to this problem?


Thanks in advance,




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points