Skip to content
Permalink
Browse files
Fix test
  • Loading branch information
AlanBateman committed Mar 4, 2021
1 parent f8e8314 commit 08b47a535c1d5d6abfb1ca1d541924d739fcda04
Showing 1 changed file with 4 additions and 9 deletions.
@@ -565,27 +565,22 @@ public void testInheritedThreadLocals2() throws Exception {
}

public void testInheritedThreadLocals3() throws Exception {
Thread.Builder builder = Thread.builder().noThreadLocals();
Thread.Builder builder = Thread.builder().noInheritThreadLocals();
testNoInheritedThreadLocals(builder);
}

public void testInheritedThreadLocals4() throws Exception {
Thread.Builder builder = Thread.builder().virtual().noThreadLocals();
Thread.Builder builder = Thread.builder().virtual().noInheritThreadLocals();
testNoInheritedThreadLocals(builder);
}

public void testInheritedThreadLocals5() throws Exception {
Thread.Builder builder = Thread.builder()
.noThreadLocals()
.noThreadLocals();
Thread.Builder builder = Thread.builder().noThreadLocals();
testNoInheritedThreadLocals(builder);
}

public void testInheritedThreadLocals6() throws Exception {
Thread.Builder builder = Thread.builder()
.virtual()
.noThreadLocals()
.noThreadLocals();
Thread.Builder builder = Thread.builder().virtual().noThreadLocals();
}

// test null parameters

0 comments on commit 08b47a5

Please sign in to comment.