Skip to content

Commit 314596a

Browse files
rpdomeAzure DevOps PipelinePrvnkmr337prsaminathan
authored
Working/release/24.0.0 (#2913)
Co-authored-by: Azure DevOps Pipeline <build-agent@azuredevops.com> Co-authored-by: Praveen Kumar <prvnkmr337@gmail.com> Co-authored-by: prsaminathan <prsaminathan@microsoft.com>
1 parent 83b6326 commit 314596a

6 files changed

Lines changed: 10 additions & 9 deletions

File tree

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
vNext
22
----------
3+
4+
Version 24.0.0
5+
----------
36
- [MINOR] Add tracking for urls loaded by our webview (#2892)
47
- [MINOR] Rework OpenTelemetry spans for secret key generation and retrieval operations (#2869)
58
- [MAJOR] add isBrokerProcess to IPlatformUtil (#2882)

common/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ tasks.register("jacocoTestReport", JacocoReport) {
8787

8888
// In dev, we want to keep the dependencies(common4j, broker4j, common) to 1.0.+ to be able to be consumed by daily dev pipeline.
8989
// In release/*, we change these to specific versions being consumed.
90-
def common4jVersion = "1.0.+"
90+
def common4jVersion = "24.0.0"
9191
if (project.hasProperty("distCommon4jVersion") && project.distCommon4jVersion != '') {
9292
common4jVersion = project.distCommon4jVersion
9393
}

common/src/androidTest/java/com/microsoft/identity/common/CommandDispatcherTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ public class CommandDispatcherTest {
111111
/** Small delay to ensure blocking tasks are fully blocking before submitting test request */
112112
private static final long TASK_STABILIZATION_DELAY_MS = 100;
113113

114-
/** Thread pool size for silent requests (matches CommandDispatcher.SILENT_REQUEST_THREAD_POOL_SIZE) */
115-
private static final int SILENT_THREAD_POOL_SIZE = 12;
116-
117114
/** Number of concurrent requests for state collision test */
118115
private static final int CONCURRENT_REQUEST_COUNT = 20;
119116

@@ -891,7 +888,7 @@ public void accept(String s) {
891888
*
892889
* <p>Test Strategy:
893890
* <ol>
894-
* <li>Fill all {@link #SILENT_THREAD_POOL_SIZE} thread pool threads with blocking tasks</li>
891+
* <li>Fill all thread pool threads with blocking tasks</li>
895892
* <li>Submit a new request that will be queued (state: QUEUED)</li>
896893
* <li>Request times out after 30 seconds while still in queue</li>
897894
* <li>Verify error code is TIMED_OUT_THREAD_POOL_SATURATED</li>
@@ -904,7 +901,7 @@ public void accept(String s) {
904901
@Test
905902
public void testTimeoutClassification_ThreadPoolSaturated() throws Exception {
906903
Log.d(TAG, "testTimeoutClassification_ThreadPoolSaturated: Starting test");
907-
final int POOL_SIZE = SILENT_THREAD_POOL_SIZE;
904+
final int POOL_SIZE = CommandDispatcher.SILENT_REQUEST_THREAD_POOL_SIZE;
908905
final CountDownLatch tasksStarted = new CountDownLatch(POOL_SIZE);
909906
final CountDownLatch releaseBlockingTasks = new CountDownLatch(1);
910907
final CountDownLatch tasksCompleted = new CountDownLatch(POOL_SIZE); // Track completion

common4j/src/main/com/microsoft/identity/common/java/controllers/CommandDispatcher.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ public class CommandDispatcher {
107107
private static final int EXECUTOR_GRACEFUL_TERMINATION_TIMEOUT_MS = 500;
108108
private static final int EXECUTOR_FORCED_TERMINATION_TIMEOUT_MS = 1000;
109109
// Cache the pool size for the session
110-
private static final int SILENT_REQUEST_THREAD_POOL_SIZE = computeSilentRequestThreadPoolSize();
110+
//@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
111+
public static final int SILENT_REQUEST_THREAD_POOL_SIZE = computeSilentRequestThreadPoolSize();
111112
private static ExecutorService sInteractiveExecutor = Executors.newSingleThreadExecutor();
112113
private static ExecutorService sSilentExecutor = Executors.newFixedThreadPool(SILENT_REQUEST_THREAD_POOL_SIZE);
113114
private static final ExecutorService sDCFExecutor = Executors.newFixedThreadPool(DCF_REQUEST_THREAD_POOL_SIZE);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Wed May 12 20:08:39 UTC 2021
2-
versionName=23.3.0
2+
versionName=24.0.0
33
versionCode=1
44
latestPatchVersion=227

versioning/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Tue Apr 06 22:55:08 UTC 2021
2-
versionName=23.3.0
2+
versionName=24.0.0
33
versionCode=1
44
latestPatchVersion=234

0 commit comments

Comments
 (0)