Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Nov 20, 2023
1 parent 7586218 commit 46ad3e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
8 changes: 4 additions & 4 deletions docker/ody-integration-test/pkg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ func main() {
ctx := context.Background()

for _, f := range []func(ctx2 context.Context) error{
// odyClientServerInteractionsTestSet,
// odyPkgSyncTestSet,
// odyShowErrsTestSet,
// odySignalsTestSet,
odyClientServerInteractionsTestSet,
odyPkgSyncTestSet,
odyShowErrsTestSet,
odySignalsTestSet,
odyCoresTestSet,
} {
err := f(ctx)
Expand Down
12 changes: 1 addition & 11 deletions docker/ody-integration-test/pkg/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,7 @@ func ensurePostgresqlRunning(ctx context.Context) error {

func ensureOdysseyRunning(ctx context.Context) error {
fmt.Printf("ensuring odyssey is OK or not\n")
cmd := exec.CommandContext(ctx, startOdysseyCmd)

outfile, err := os.Create("./od_err_log.txt")
if err != nil {
panic(err)
}
defer outfile.Close()
cmd.Stderr = outfile

err = cmd.Run()

_, err := exec.CommandContext(ctx, startOdysseyCmd).Output()
if err != nil {
err = fmt.Errorf("error due odyssey restarting %w", err)
fmt.Println(err)
Expand Down
1 change: 0 additions & 1 deletion docker/odyssey.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ database default {
unix_socket_dir "/tmp"
unix_socket_mode "0644"

log_file "/var/log/odyssey.log"
log_format "%p %t %l [%i %s] (%c) %m\n"
log_debug no
log_config yes
Expand Down

0 comments on commit 46ad3e7

Please sign in to comment.