test case failing in GitHubSourceTaskTest.java
BrainsOfSteel opened this issue · 1 comments
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] ------------------------------------------------------------------------
`