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

Dont use timer if closed #312

Merged
merged 9 commits into from
Jul 26, 2023
Merged

Dont use timer if closed #312

merged 9 commits into from
Jul 26, 2023

Conversation

ohadbitt
Copy link
Collaborator

No description provided.

@ohadbitt ohadbitt requested a review from AsafMah July 23, 2023 12:05
@github-actions
Copy link

github-actions bot commented Jul 23, 2023

Test Results

269 tests  ±0   264 ✔️ ±0   1m 57s ⏱️ -9s
  22 suites ±0       5 💤 ±0 
  22 files   ±0       0 ±0 

Results for commit 4ba6966. ± Comparison against base commit e2b288d.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Merging #312 (4ba6966) into master (e2b288d) will decrease coverage by 0.03%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master     #312      +/-   ##
============================================
- Coverage     56.50%   56.48%   -0.03%     
  Complexity      731      731              
============================================
  Files           106      106              
  Lines          3837     3842       +5     
  Branches        393      395       +2     
============================================
+ Hits           2168     2170       +2     
- Misses         1488     1489       +1     
- Partials        181      183       +2     
Files Changed Coverage Δ
...re/kusto/data/auth/PublicAppTokenProviderBase.java 53.33% <0.00%> (-3.81%) ⬇️
.../microsoft/azure/kusto/ingest/ResourceManager.java 76.30% <75.00%> (-0.51%) ⬇️

@yogilad
Copy link
Contributor

yogilad commented Jul 23, 2023

Can you please add a description?
This is also so the change list for the version can be easily composed

Copy link
Contributor

@AsafMah AsafMah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add to changelog.md

@@ -28,6 +28,11 @@ public abstract class PublicAppTokenProviderBase extends MsalTokenProviderBase {
super(clusterUrl, authorityId, httpClient);
}

@Override
protected synchronized String acquireAccessTokenImpl() throws DataServiceException, DataClientException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment explaining this.

Copy link
Contributor

@AsafMah AsafMah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved - just add the comment, and make sure it actually does what it should (not making the thing pop up twice)

@ohadbitt ohadbitt merged commit 5a89292 into master Jul 26, 2023
8 checks passed
@ohadbitt ohadbitt deleted the nullTimer branch July 26, 2023 14:35
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

Successfully merging this pull request may close these issues.

4 participants