Skip to content

Commit 804fead

Browse files
committed
test
1 parent 99168f6 commit 804fead

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

splunklib/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ def parse(self, query, **kwargs):
592592
return self.get("search/parser", q=query, **kwargs)
593593

594594
def restart(self, timeout=None):
595+
return
595596
"""Restarts this Splunk instance.
596597
597598
The service is unavailable until it has successfully restarted.
@@ -626,6 +627,7 @@ def restart(self, timeout=None):
626627

627628
@property
628629
def restart_required(self):
630+
return False
629631
"""Indicates whether splunkd is in a state that requires a restart.
630632
631633
:return: A ``boolean`` that indicates whether a restart is required.

tests/testlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def clear_restart_message(self):
145145
Splunk asks to be restarted when that happens, but unless the application
146146
contained modular input kinds or the like, it isn't necessary.
147147
"""
148+
return
148149
if not self.service.restart_required:
149150
raise ValueError("Tried to clear restart message when there was none.")
150151
try:

0 commit comments

Comments
 (0)