diff --git a/test/test_pkcs11_thread.rb b/test/test_pkcs11_thread.rb
index <HASH>..<HASH> 100644
--- a/test/test_pkcs11_thread.rb
+++ b/test/test_pkcs11_thread.rb
@@ -35,7 +35,7 @@ class TestPkcs11Thread < Test::Unit::TestCase
     }
     # This should take some seconds:
     pub_key, priv_key = session.generate_key_pair(:RSA_PKCS_KEY_PAIR_GEN,
-      {:MODULUS_BITS=>1408, :PUBLIC_EXPONENT=>[3].pack("N"), :TOKEN=>false},
+      {:MODULUS_BITS=>2048, :PUBLIC_EXPONENT=>[3].pack("N"), :TOKEN=>false},
       {})
     th.kill
     assert_operator count, :>, 10, "The second thread should count further concurrent to the key generation"
RSA-<I> is too small on a faster CPU.