diff --git a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
index 6f2f66766a..a75f89638d 100644
--- a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
+++ b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php
@@ -129,7 +129,7 @@ public function testLogging() {
 
     // Try fetching statistics for an invalid node ID and verify it returns
     // FALSE.
-    $node_id = 10000000000000000;
+    $node_id = 1000000;
     $node = Node::load($node_id);
     $this->assertNull($node);
 
