Skip to content

Commit

Permalink
Merge pull request supercollider#6559 from capital-G/restart-server-i…
Browse files Browse the repository at this point in the history
…n-rtalloc-tests

Restart server for each RTAlloc test
  • Loading branch information
capital-G authored Dec 12, 2024
2 parents 72dfaeb + 00055a8 commit f9a797a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions testsuite/classlibrary/TestUGen_RTAlloc.sc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
TestUGen_RTAlloc : UnitTest {

classvar server;
var server;

*initClass {
passVerbosity = UnitTest.brief;
}

*setUpClass {
server = Server(this.name);
setUp {
server = Server(this.class.name);
server.options.sampleRate = 48000;
server.options.blockSize = 64;
server.options.memSize = 2 ** 13; // scsynth default
Expand All @@ -17,8 +17,9 @@ TestUGen_RTAlloc : UnitTest {
server.bootSync;
}

*tearDownClass {
server.quit.remove;
tearDown {
server.quit;
server.remove;
}

// Async helpers
Expand Down

0 comments on commit f9a797a

Please sign in to comment.