Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #341 disable two more test cases as they are not stable #342

Merged
merged 1 commit into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
import io.undertow.util.HttpString;
import io.undertow.util.Methods;
import org.apache.commons.text.StringEscapeUtils;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xnio.IoUtils;
Expand All @@ -35,7 +32,10 @@
* This is a test class that focuses the multiple specifications with scope verification. It has a customized
* openapi-handler.yml config file injected during the setup.
*
* This test is disabled as it has to access jwk endpoint during the middle of the request.
*
*/
@Ignore
public class JwtVerifierHandlerMultipleSpecsTest {
static final Logger logger = LoggerFactory.getLogger(JwtVerifierHandlerMultipleSpecsTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
import io.undertow.util.HttpString;
import io.undertow.util.Methods;
import org.apache.commons.text.StringEscapeUtils;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xnio.IoUtils;
Expand All @@ -49,8 +46,10 @@
import java.util.concurrent.atomic.AtomicReference;

/**
* Created by steve on 01/09/16.
* Created by steve on 01/09/16. Disabled as it has threading issue as the same request will access the server twice
* to get the token in the middle.
*/
@Ignore
public class JwtVerifyHandlerTest {
static final Logger logger = LoggerFactory.getLogger(JwtVerifyHandlerTest.class);

Expand Down
2 changes: 0 additions & 2 deletions openapi-security/src/test/resources/config/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ handler.handlers:
- com.networknt.basicauth.BasicAuthHandler@basic
- com.networknt.openapi.UnifiedSecurityHandler@unified
- com.networknt.apikey.ApiKeyHandler@apikey
- com.networknt.openapi.JwkHandler@jwk

handler.chains.default:
- specification
- unified
- jwk

# basic-auth.yml
basic.users:
Expand Down