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

test case failing in GitHubSourceTaskTest.java #16

Open
BrainsOfSteel opened this issue Nov 4, 2020 · 1 comment
Open

test case failing in GitHubSourceTaskTest.java #16

BrainsOfSteel opened this issue Nov 4, 2020 · 1 comment

Comments

@BrainsOfSteel
Copy link

No description provided.

@alonsoir
Copy link

alonsoir commented Feb 17, 2022

It should work if you use this properties in file GitHubAPIHttpClient

public static final String X_RATELIMIT_LIMIT_HEADER="X-RateLimit-Limit"; public static final String X_RATELIMIT_REMAINING_HEADER="X-RateLimit-Remaining"; public static final String X_RATELIMIT_RESET_HEADER="X-RateLimit-Reset";

`
Before

public static final String X_RATELIMIT_LIMIT_HEADER="X-Ratelimit-Limit"; public static final String X_RATELIMIT_REMAINING_HEADER="X-Ratelimit-Remaining"; public static final String X_RATELIMIT_RESET_HEADER="X-Ratelimit-Reset";

`

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ kafka-connect-github-source ---
[INFO] Building jar: /Users/aironman/git/alonsoir.github.io/kafka course Stephane/kafka-connect-github-source/target/kafka-connect-github-source-1.1.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.5.3:single (make-assembly) @ kafka-connect-github-source ---
[INFO] Reading assembly descriptor: src/main/assembly/package.xml
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o 'org.apache.kafka:connect-api'

[INFO] Copying files to /Users/aironman/git/alonsoir.github.io/kafka course Stephane/kafka-connect-github-source/target/kafka-connect-github-source-1.1-package
[WARNING] Assembly file: /Users/aironman/git/alonsoir.github.io/kafka course Stephane/kafka-connect-github-source/target/kafka-connect-github-source-1.1-package is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ kafka-connect-github-source ---
[INFO] Installing /Users/aironman/git/alonsoir.github.io/kafka course Stephane/kafka-connect-github-source/target/kafka-connect-github-source-1.1.jar to /Users/aironman/.m2/repository/com/simplesteph/kafka/kafka-connect-github-source/1.1/kafka-connect-github-source-1.1.jar
[INFO] Installing /Users/aironman/git/alonsoir.github.io/kafka course Stephane/kafka-connect-github-source/pom.xml to /Users/aironman/.m2/repository/com/simplesteph/kafka/kafka-connect-github-source/1.1/kafka-connect-github-source-1.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.606 s
[INFO] Finished at: 2022-02-17T11:28:33+01:00
[INFO] ------------------------------------------------------------------------
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants