Skip to content

Commit f541c6b

Browse files
[#28522] YSQL: fix 'TestToastFunction#testBuildRelcacheInitFileMemoryUsage'
Summary: `TestToastFunction` has hard-coded constants (8 MB) that it expects the CacheMemoryContext size to fall below. Since D45540 adds a new view this limit gets crossed. This revision increases the limit to account for, D45540 Jira: DB-18212 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestToastFunction' Reviewers: myang, kfranz Reviewed By: myang, kfranz Differential Revision: https://phorge.dev.yugabyte.com/D46580
1 parent 9b52757 commit f541c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/yb-pgsql/src/test/java/org/yb/pgsql/TestToastFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ public void testAdHocMemoryUsage() throws Exception {
6161
public void testBuildRelcacheInitFileMemoryUsage() throws Exception {
6262
setEnableToastFlag(true);
6363
CacheMemoryContextTracker cxt = buildRelcacheInitFileMemoryUsage();
64-
cxt.assertMemoryUsageLessThan(8 * MB);
64+
cxt.assertMemoryUsageLessThan(9 * MB);
6565
}
6666
}

0 commit comments

Comments
 (0)