diff options
author | Darius Jokilehto <dariusjokilehto+os@gmail.com> | 2023-03-10 09:35:49 +0000 |
---|---|---|
committer | Darius Jokilehto <dariusjokilehto+os@gmail.com> | 2023-04-21 15:27:03 +0100 |
commit | ed6a19d4c3f6dfd8b6bb575d0656dd51ace21e5e (patch) | |
tree | 9a19e4cbe5b4f5011644d1bb5d9d177c591ea9c3 | |
parent | a6830e6fdb0cbadcce8849403a4c67c306e327e4 (diff) |
Fix typo in test method name
Release-Notes: skip
Change-Id: I29e2170fc83b58d868069c9e147e56aeda00a156
-rw-r--r-- | javatests/com/google/gerrit/server/account/externalids/ExternalIDCacheLoaderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javatests/com/google/gerrit/server/account/externalids/ExternalIDCacheLoaderTest.java b/javatests/com/google/gerrit/server/account/externalids/ExternalIDCacheLoaderTest.java index 8f2d613eff..0a874db28c 100644 --- a/javatests/com/google/gerrit/server/account/externalids/ExternalIDCacheLoaderTest.java +++ b/javatests/com/google/gerrit/server/account/externalids/ExternalIDCacheLoaderTest.java @@ -183,7 +183,7 @@ public class ExternalIDCacheLoaderTest { public void handlesTreePrefixesInDifferentialReload() throws Exception { // Create more than 256 notes (NoteMap's current sharding limit) and check that we really have // created a situation where NoteNames are sharded. - ObjectId oldState = inserExternalIds(257); + ObjectId oldState = insertExternalIds(257); assertAllFilesHaveSlashesInPath(); ObjectId head = insertExternalId(500, 500); externalIdCache.put(oldState, allFromGit(oldState)); @@ -196,7 +196,7 @@ public class ExternalIDCacheLoaderTest { @Test public void handlesReshard() throws Exception { // Create 256 notes (NoteMap's current sharding limit) and check that we are not yet sharding - ObjectId oldState = inserExternalIds(256); + ObjectId oldState = insertExternalIds(256); assertNoFilesHaveSlashesInPath(); // Create one more external ID and then have the Loader compute the new state ObjectId head = insertExternalId(500, 500); @@ -223,7 +223,7 @@ public class ExternalIDCacheLoaderTest { return AllExternalIds.create(externalIdReader.all(revision).stream()); } - private ObjectId inserExternalIds(int numberOfIdsToInsert) throws Exception { + private ObjectId insertExternalIds(int numberOfIdsToInsert) throws Exception { ObjectId oldState = null; // Create more than 256 notes (NoteMap's current sharding limit) and check that we really have // created a situation where NoteNames are sharded. |