Code review comment: Could you try to set and reset `CoreOptions#DEFAULT_PARALLELISM`?

Code under review:
public void testSetAndResetOption() throws Exception {
        SessionContext sessionContext = createSessionContext();
        sessionContext.set(TABLE_SQL_DIALECT.key(), "hive");
        Assert.assertEquals(
                "hive",
                sessionContext
                        .getSessionEnvironment()
                        .getConfiguration()
                        .asMap()
                        .get(TABLE_SQL_DIALECT.key()));
        Assert.assertEquals(
                "hive",
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(TABLE_SQL_DIALECT));

        sessionContext.reset();
        Assert.assertEquals(
                "default",
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(TABLE_SQL_DIALECT));
        Assert.assertNull(
                sessionContext
                        .getSessionEnvironment()
                        .getConfiguration()
                        .asMap()
                        .get("pipeline.name"));
    }

Line commented on: sessionContext.set(TABLE_SQL_DIALECT.key(), "hive");

Revised code:
public void testSetAndResetOption() throws Exception {
        SessionContext sessionContext = createSessionContext();
        
        sessionContext.set(TABLE_SQL_DIALECT.key(), "hive");
        
        sessionContext.set(MAX_PARALLELISM.key(), "128");
        
        sessionContext.set(NAME.key(), "test");
        
        sessionContext.set(OBJECT_REUSE.key(), "false");
        Assert.assertEquals(
                "hive",
                sessionContext
                        .getSessionEnvironment()
                        .getConfiguration()
                        .asMap()
                        .get(TABLE_SQL_DIALECT.key()));
        Assert.assertEquals(
                "hive",
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(TABLE_SQL_DIALECT));
        Assert.assertEquals(
                128,
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getInteger(MAX_PARALLELISM));
        Assert.assertEquals(
                "test",
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(NAME));
        Assert.assertFalse(
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getBoolean(OBJECT_REUSE));

        sessionContext.reset();
        Assert.assertEquals(
                "default",
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(TABLE_SQL_DIALECT));
        Assert.assertNull(
                sessionContext
                        .getSessionEnvironment()
                        .getConfiguration()
                        .asMap()
                        .get("pipeline.name"));
        
        Assert.assertEquals(
                16,
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getInteger(MAX_PARALLELISM));
        Assert.assertNull(
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getString(NAME, null));
        
        Assert.assertTrue(
                sessionContext
                        .getExecutionContext()
                        .getTableEnvironment()
                        .getConfig()
                        .getConfiguration()
                        .getBoolean(OBJECT_REUSE));
    }