Skip to content

Commit

Permalink
Fix failing test due to audit log changes
Browse files Browse the repository at this point in the history
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
  • Loading branch information
Vasu1105 committed Oct 17, 2023
1 parent f37b8fa commit af1cf18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/train/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def default_audit_log_options
# should we keep it to $stdout.
{
enable_audit_log: { default: false },
audit_log_location: { required: true },
audit_log_location: { required: true, default: nil },
audit_log_app_name: { default: "train" },
audit_log_size: { default: 2000000 },
audit_log_frequency: { default: "daily" },
Expand Down
2 changes: 1 addition & 1 deletion test/unit/plugins/transport_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let(:default_options) {
{
enable_audit_log: false,
audit_log_location: $stdout,
audit_log_location: nil,
audit_log_app_name: "train",
audit_log_size: 2000000,
audit_log_frequency: "daily",
Expand Down
3 changes: 2 additions & 1 deletion test/unit/train_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
default: false,
},
audit_log_location: {
default: $stdout,
default: nil,
required: true,
},
audit_log_app_name: {
default: "train",
Expand Down

0 comments on commit af1cf18

Please sign in to comment.