fixing tests and added script to generate key pairs for tests
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
023f847b06
commit
d7c57f06fa
@ -1,44 +1,44 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/login situation tests/login with unknown account",
|
||||
"name" : "Test Task name not available here/\/login page handler/login situation tests/login with unknown account",
|
||||
"status" : "Success",
|
||||
"durationMillis" : "3408",
|
||||
"durationMillis" : "3658",
|
||||
"annotations" : "",
|
||||
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
|
||||
"fullyQualifiedClassName" : "Test Task name not available here",
|
||||
"labels" : ["\/login page handler", "login situation tests", "login with unknown account"]
|
||||
},
|
||||
{
|
||||
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with invalid json",
|
||||
"name" : "Test Task name not available here/\/login page handler/erroned request body tests/with invalid json",
|
||||
"status" : "Success",
|
||||
"durationMillis" : "2403",
|
||||
"durationMillis" : "2587",
|
||||
"annotations" : "",
|
||||
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
|
||||
"fullyQualifiedClassName" : "Test Task name not available here",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "with invalid json"]
|
||||
},
|
||||
{
|
||||
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with no password attribute",
|
||||
"name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no mail attribute",
|
||||
"status" : "Success",
|
||||
"durationMillis" : "2406",
|
||||
"durationMillis" : "2629",
|
||||
"annotations" : "",
|
||||
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "with no password attribute"]
|
||||
"fullyQualifiedClassName" : "Test Task name not available here",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "with no mail attribute"]
|
||||
},
|
||||
{
|
||||
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/with no mail attribute",
|
||||
"name" : "Test Task name not available here/\/login page handler/erroned request body tests/empty packet",
|
||||
"status" : "Success",
|
||||
"durationMillis" : "2412",
|
||||
"durationMillis" : "2633",
|
||||
"annotations" : "",
|
||||
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "with no mail attribute"]
|
||||
"fullyQualifiedClassName" : "Test Task name not available here",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "empty packet"]
|
||||
},
|
||||
{
|
||||
"name" : "org.tbasket.test.pages.LoginPageHandlerTests/\/login page handler/erroned request body tests/empty packet",
|
||||
"name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no password attribute",
|
||||
"status" : "Success",
|
||||
"durationMillis" : "2436",
|
||||
"durationMillis" : "2619",
|
||||
"annotations" : "",
|
||||
"fullyQualifiedClassName" : "org.tbasket.test.pages.LoginPageHandlerTests",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "empty packet"]
|
||||
"fullyQualifiedClassName" : "Test Task name not available here",
|
||||
"labels" : ["\/login page handler", "erroned request body tests", "with no password attribute"]
|
||||
}
|
||||
|
||||
]
|
||||
|
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
echo GENERATING TEMPORARY KEY PAIRS FOR TESTS
|
||||
|
||||
rm -r /tmp/keys
|
||||
mkdir /tmp/keys
|
||||
cd /tmp/keys
|
||||
keytool -genkey -noprompt \
|
||||
-alias key \
|
||||
-keyalg RSA \
|
||||
-validity 1 \
|
||||
-keystore test.keystore \
|
||||
-storetype PKCS12 \
|
||||
-dname "CN=mqttserver.ibm.com, OU=ID, O=IBM, L=Hursley, S=Hants, C=GB" \
|
||||
-storepass 123456789 \
|
||||
-keypass 123456789
|
||||
|
||||
keytool -noprompt -export \
|
||||
-alias key \
|
||||
-keystore test.keystore \
|
||||
-rfc \
|
||||
-file public.cert \
|
||||
-keypass 123456789 \
|
||||
-storepass 123456789
|
||||
|
||||
echo "123456789" | openssl pkcs12 -in test.keystore -nodes -nocerts -out private.pcks 2> /dev/null
|
||||
echo "123456789" | openssl pkcs12 -in test.keystore -nokeys -out public.cert 2> /dev/null
|
Reference in new issue